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

Represents an enemy in a room. More...

#include <room.h>

Public Attributes

std::string name
 Name of the enemy. More...
 
int health
 Health points of the enemy. More...
 
int attack
 Attack power of the enemy. More...
 

Detailed Description

Represents an enemy in a room.

Contains the name, health, and attack attributes of an enemy.

Member Data Documentation

◆ attack

int EnemyStruct::attack

Attack power of the enemy.

◆ health

int EnemyStruct::health

Health points of the enemy.

◆ name

std::string EnemyStruct::name

Name of the enemy.


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