Values Struct Reference

#include <Game.h>

List of all members.

Static Public Attributes

static const char * CONTENT_DIR = "../Content"
static const float WALKING_SPEED_KM_H
static const float AIRPLANE_SPEED_KM_H
static const float BULLET_SPEED_M_S
static const float SHOOTING_DISTANCE
static const int MAX_HEALTH
static const int WORLD_SCALE
static const int MAX_BODY_COUNT
static const int NUMBER_OF_ENEMIES
static const float CHAINGUN_RECOIL
static const float BOLTER_RECOIL

Detailed Description

Values provides a means of bundled constants that are used throughout the game.

Definition at line 79 of file Game.h.


Member Data Documentation

const float Values::AIRPLANE_SPEED_KM_H [static]

provides the airplane's speed in Km/h

Definition at line 91 of file Game.h.

const float Values::BOLTER_RECOIL [static]

provides a recoil factor for the bolter weapon

Definition at line 123 of file Game.h.

const float Values::BULLET_SPEED_M_S [static]

provides a single bullet's speed in m/s

Definition at line 95 of file Game.h.

const float Values::CHAINGUN_RECOIL [static]

provides a recoil factor for the chaingun weapon

Definition at line 119 of file Game.h.

const char * Values::CONTENT_DIR = "../Content" [static]

holds a string of the directory that holds the graphics content. It is relative to the start directory

Definition at line 83 of file Game.h.

const int Values::MAX_BODY_COUNT [static]

provides the number of Enemies to be shot until no Enemies are respawned anymore

Definition at line 111 of file Game.h.

const int Values::MAX_HEALTH [static]

provides the start health of Enemies and the Player

Definition at line 103 of file Game.h.

const int Values::NUMBER_OF_ENEMIES [static]

provides the number of concurrent Enemies

Definition at line 115 of file Game.h.

const float Values::SHOOTING_DISTANCE [static]

this is the player's maximum distance to hit IShootables

Definition at line 99 of file Game.h.

const float Values::WALKING_SPEED_KM_H [static]

provides the player's speed without running in Km/h. Running is 3 times faster

Definition at line 87 of file Game.h.

const int Values::WORLD_SCALE [static]

Provides a scaleing factor for physics and graphics World

Definition at line 107 of file Game.h.


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

Generated by  doxygen 1.6.2