TheCOSCGameProject  1.0
Public Attributes | List of all members
NPC Struct Reference

Represents a non-player character (NPC) in a room. More...

#include <room.h>

Public Attributes

std::string name
 Name of the NPC. More...
 
std::unique_ptr< GamegamblingGame
 Pointer to a gambling game associated with the NPC. More...
 
int skillLevel
 Skill level of the NPC in the gambling game. More...
 

Detailed Description

Represents a non-player character (NPC) in a room.

Contains the name, skill level, and an optional gambling game associated with the NPC.

Member Data Documentation

◆ gamblingGame

std::unique_ptr<Game> NPC::gamblingGame

Pointer to a gambling game associated with the NPC.

◆ name

std::string NPC::name

Name of the NPC.

◆ skillLevel

int NPC::skillLevel

Skill level of the NPC in the gambling game.


The documentation for this struct was generated from the following file: