Skip to content

Design and implement a mock "sample_npc.h" module #563

@navila-luna

Description

@navila-luna

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.

Metadata

Metadata

Assignees

Labels

x/rpg-openworldRPG feature random world/room generation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions