Original Post
I hope this topic can be solved in this topic forum.
I want to make a rpg game using visual c++ by object oriented technlogy. By the object-oriented technlogy(oot), it has the model that is MVC, M->model, V->view, C->Control. I want to build a isometric map.I will use two dimension array of map object that is:
class Map
{
int mapName;
int mapWidth;
int mapHeight;
MapElement map[mapHeight][mapWidth]
}
class MapElement
{
int picNo;
int layerNo;
.
.
}
I want to ask the question that if I want to draw the map to the screen, where is the draw method is placed? In the map class, in the mapelement class or in the control object or in the view object?? Where is the draw method need to place?Thx