Castle Battle  1.0
Classes | Enumerations
player.h File Reference
#include <irrlicht.h>
#include "keyboard.h"
#include "ball.h"
#include "target.h"
#include "camera.h"
#include "hud.h"
#include "castle.h"
#include "cannon.h"

Go to the source code of this file.

Classes

class  Player
 Player handles everthing about player-releated context, that means Castle, Cannon, Target, Ball, Camera. More...
 

Enumerations

enum  PLAYER_TYPE { HUMAN =0, AI }
 Enum PlAYER_TYPE: HUMAN or AI. More...
 
enum  PLAYER_POSITION { STRAIGHT, OPPOSITE }
 Enum PLAYER_POSITION, is the position rotation: STRAIGHT or OPPOSITE It is used to set the rotation of the players context. More...
 

Enumeration Type Documentation

◆ PLAYER_POSITION

Enum PLAYER_POSITION, is the position rotation: STRAIGHT or OPPOSITE It is used to set the rotation of the players context.

Enumerator
STRAIGHT 
OPPOSITE 
23  {
24  STRAIGHT,
25  OPPOSITE
26  };
Definition: player.h:25
Definition: player.h:24

◆ PLAYER_TYPE

Enum PlAYER_TYPE: HUMAN or AI.

For now only HUMAN is avaliable

Enumerator
HUMAN 
AI 
16  {
17  HUMAN=0,
18  AI
19  };
Definition: player.h:17
Definition: player.h:18