Questions i can't figure answers due to the map/entitiesQuestions This sounds simple but that initial design yethas an effect on later development. Examples:
What happens later when for an example NPC would have to attack player?What happens later when for an example NPC would have to attack player?
How from the NPC class the logic knows where is the player located or if he (NPC) can move right ? - having no idea about the map. Should i pass the MAP pointer to the AI logic ?How from the NPC class the logic knows where is the player located or if he (NPC) can move right ? - having no idea about the map.
Which is the proper way to go to separate the logic and make all of the above simple ?Should i pass the MAP pointer to the AI logic ?
Which is the proper way to go to separate the logic and make all of the above simple in future stages of development ?