Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    Why do your ports need to extend SceneMember? why not create the port classes to operate on SceneMembers? Commented Dec 27, 2010 at 15:11
  • 1
    So why not use the standard marker interface pattern? Basically identical to your empty abstract base class, but it's a much more common idiom. Commented Dec 27, 2010 at 18:38
  • 1
    @Michael: Only for theoretical reasons, I reserved Port for future use, but this future hasn'nt arrived yet, and maybe never will. I didn't realised that they have no common at all, unlike their names suppose. I will pay compensation for everyone who suffered any loss occurred by that empty class... Commented Dec 27, 2010 at 22:03
  • 1
    @TMN: SceneMember (derivative) types have getMemberType() method, there're several cases when Scene is scanned for subset of SceneMember objects. Commented Dec 27, 2010 at 22:10
  • 4
    This does not answer the question. Commented Jan 28, 2013 at 13:57