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

Represents an enemy character in the game. More...

#include <enemies.h>

Public Attributes

std::string name
 The name of the enemy. More...
 
int health
 The health points of the enemy. More...
 
int attack
 The attack power of the enemy. More...
 
std::string type
 The type or category of the enemy. More...
 
std::string personality
 The personality trait of the enemy. More...
 
int defence
 The defense value of the enemy. More...
 

Detailed Description

Represents an enemy character in the game.

The Enemy structure contains attributes such as name, health, attack, type, personality, and defense that define the characteristics of an enemy.

Member Data Documentation

◆ attack

int Enemy::attack

The attack power of the enemy.

◆ defence

int Enemy::defence

The defense value of the enemy.

◆ health

int Enemy::health

The health points of the enemy.

◆ name

std::string Enemy::name

The name of the enemy.

◆ personality

std::string Enemy::personality

The personality trait of the enemy.

◆ type

std::string Enemy::type

The type or category of the enemy.


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