11#ifndef GUARD_CONFIGDATA_H
12#define GUARD_CONFIGDATA_H
invader type deffinition and related data
this struct stores all relevant data from the configuration file
unsigned startXPosition
players horizontal start position
unsigned playersLives
player life points
unsigned invadersFireCooldown
wait time between two invader missile
unsigned playersSpeed
player movement speed
InvadersGrid grid
Invader type matrix.
string theme
theme to use. Valid values : good,bad
unsigned missilesWidth
invaders missiles width in pixel
unsigned torpedosLength
players torpedos length in pixel // auto defined from width
unsigned playersFireCooldown
player shooting wait time
nsGraphics::RGBAcolor torpedosColor
players torpedos color
vector< PlayerDef > playerDefs
player key configuration
unsigned torpedosSpeed
players topedos movement speed
unsigned invadersDistance
distance in pixel between two invader
nsGraphics::RGBAcolor missilesColor
invaders missiles color
unsigned invadersSpeed
invader movement speed
unsigned playersWidth
player horizontal size in pixel
unsigned invadersSize
invader radius size in pixel
unsigned maxFPS
maximum framerate at which the game will run
unsigned missilesSpeed
invaders missiles movement speed
unsigned missilesLength
invaders missiles length in pixel - auto defined from width
unsigned torpedosWidth
players torpedos width in pixel
map< InvaderType, InvaderTypeDef > invadersDef
link between an invader type, and its data