Purpose is to illustrate a sample of the NPC struct and the type of functions needed to be considered for NPC functionality within multiple rooms. This mock implementation is hard coded and will be removed once the NPC team has finished creating their NPC struct. The three hard coded functions consist of the three kinds of NPC types: Generic, Friendly, and Hostile. Determined that level and NPC items are the only necessary components OpenWorld needs to consider and therefore, the only (besides the prev and next for linked list) necessary within the npc_t struct.
Purpose is to illustrate a sample of the NPC struct and the type of functions needed to be considered for NPC functionality within multiple rooms. This mock implementation is hard coded and will be removed once the NPC team has finished creating their NPC struct. The three hard coded functions consist of the three kinds of NPC types: Generic, Friendly, and Hostile. Determined that level and NPC items are the only necessary components OpenWorld needs to consider and therefore, the only (besides the prev and next for linked list) necessary within the npc_t struct.