How to manage my model

Posted by Christophe Debove on Game Development See other posts from Game Development or by Christophe Debove
Published on 2012-11-05T18:50:01Z Indexed on 2012/11/05 23:20 UTC
Read the original article Hit count: 281

Filed under:
|
|
|

I have in my model, a list of Classes : Player, NonPlayerCharacter, Monster, Item, NonMovableItem etc

With AndEngine I've a list of sprite for each piece of my model,

How can I manage the relashionship between my model's classes and the graphical elements, what is the degree of abstaction recommended for my problem?

One sprite for one Model or one Model for one Sprite or n for n

for exemple If I do drag&drop have I to make abstraction of the Sprite Class, another exemple a map is a List of sprite or a list of element of my model?

© Game Development or respective owner

Related posts about java

Related posts about android