How handle graphical representation of objects in MVC 2D game?

Viewed 926

I'm making a 2D game in java using the MVC pattern and after reading and searching my ass off I still haven't found a satisfying answear to how I'm supposed to handle the graphical representation of objects.

Should I divide every object, for example Player into PlayerModel (stored in Model) and PlayerView (stored in View)?

That seems kinda messy becuase then I would have to keep track of which grapical-representation-object, i.e. "ScaryMonsterEnemyView" is connected to which logical-representation-object, "ScaryMonsterEnemyModel". Is this really how I'm supposed to do it according to MVC? If so, where should this connection be stored? In the view?

I know this might be a silly problem to get stuck on, but I want to get as much as possible right from the start. Thanks for helping out :)

2 Answers
Related