We want the Representation (e.g., Canvas2D) to hold an array of
GraphicalElements, while the World class only holds Elements (so that it
can handle text-based elements as well) without bothering with the if-check
we now have to do in World's addPlayer function. If Representation extends
World, then it can overwrite the World's addPlayer function to add a
GraphicalElement instead of an Element.
Original issue reported on code.google.com by Omer.Ba...@gmail.com on 1 Feb 2007 at 5:01
Original issue reported on code.google.com by
Omer.Ba...@gmail.com
on 1 Feb 2007 at 5:01