Timeline for Initializing entities vs having a constructor parameter
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 11, 2013 at 14:26 | vote | accept | Vittorio Romeo | ||
May 14, 2012 at 14:49 | comment | added | Kylotan | Yes, exactly that. | |
May 14, 2012 at 13:18 | comment | added | Vittorio Romeo | I'm not sure I understand, you mean passing the position as a parameter in the Entity's constructor? So that the factory will create a new entity like this? Factory.Player(10, 5) -> return new Entity(10, 5) | |
May 14, 2012 at 12:41 | history | answered | Kylotan | CC BY-SA 3.0 |