Castle Battle  1.0
Classes | Enumerations | Variables
HUD Namespace Reference

Graphic user interface namespace. More...

Classes

class  HUD
 HUD of the gameplay. More...
 

Enumerations

enum  { POWER_TEXT, POWER_BAR, INFO_PLAYER }
 

Variables

const f32 SPEED_HIGH = 1.0098f
 
const f32 SPEED_LOW = 0.975f
 
const s32 MAX_HEIGHT = 237
 

Detailed Description

Graphic user interface namespace.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
POWER_TEXT 

Graphic object enum.

POWER_BAR 

POWER_TEXT not used.

INFO_PLAYER 

POWER_BAR is power shot bar.

INFO_PLAYER is player turn name

9  {
10  POWER_TEXT,
11  POWER_BAR,
13  };
POWER_TEXT not used.
Definition: hud.h:11
POWER_BAR is power shot bar.
Definition: hud.h:12
Definition: hud.h:10

Variable Documentation

◆ MAX_HEIGHT

const s32 HUD::MAX_HEIGHT = 237

Max height of the power bar

◆ SPEED_HIGH

const f32 HUD::SPEED_HIGH = 1.0098f

Speed rate when the power goes up

◆ SPEED_LOW

const f32 HUD::SPEED_LOW = 0.975f

Speed rate when the power goes down