How to manage my model
- by Christophe Debove
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?