SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
ConfigData Struct Reference

this struct stores all relevant data from the configuration file More...

#include <configData.h>

Collaboration diagram for ConfigData:

Public Attributes

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

Detailed Description

this struct stores all relevant data from the configuration file

Definition at line 27 of file configData.h.

Member Data Documentation

◆ grid

InvadersGrid ConfigData::grid

Invader type matrix.

Definition at line 42 of file configData.h.

◆ invadersDef

map<InvaderType, InvaderTypeDef> ConfigData::invadersDef

link between an invader type, and its data

Definition at line 97 of file configData.h.

◆ invadersDistance

unsigned ConfigData::invadersDistance

distance in pixel between two invader

Definition at line 87 of file configData.h.

◆ invadersFireCooldown

unsigned ConfigData::invadersFireCooldown

wait time between two invader missile

Definition at line 92 of file configData.h.

◆ invadersSize

unsigned ConfigData::invadersSize

invader radius size in pixel

Definition at line 82 of file configData.h.

◆ invadersSpeed

unsigned ConfigData::invadersSpeed

invader movement speed

Definition at line 77 of file configData.h.

◆ maxFPS

unsigned ConfigData::maxFPS

maximum framerate at which the game will run

Definition at line 37 of file configData.h.

◆ missilesColor

nsGraphics::RGBAcolor ConfigData::missilesColor

invaders missiles color

Definition at line 117 of file configData.h.

◆ missilesLength

unsigned ConfigData::missilesLength

invaders missiles length in pixel - auto defined from width

Definition at line 107 of file configData.h.

◆ missilesSpeed

unsigned ConfigData::missilesSpeed

invaders missiles movement speed

Definition at line 112 of file configData.h.

◆ missilesWidth

unsigned ConfigData::missilesWidth

invaders missiles width in pixel

Definition at line 102 of file configData.h.

◆ playerDefs

vector<PlayerDef> ConfigData::playerDefs

player key configuration

Definition at line 72 of file configData.h.

◆ playersFireCooldown

unsigned ConfigData::playersFireCooldown

player shooting wait time

Definition at line 62 of file configData.h.

◆ playersLives

unsigned ConfigData::playersLives

player life points

Definition at line 67 of file configData.h.

◆ playersSpeed

unsigned ConfigData::playersSpeed

player movement speed

Definition at line 52 of file configData.h.

◆ playersWidth

unsigned ConfigData::playersWidth

player horizontal size in pixel

Definition at line 57 of file configData.h.

◆ startXPosition

unsigned ConfigData::startXPosition

players horizontal start position

Definition at line 47 of file configData.h.

◆ theme

string ConfigData::theme

theme to use. Valid values : good,bad

Definition at line 32 of file configData.h.

◆ torpedosColor

nsGraphics::RGBAcolor ConfigData::torpedosColor

players torpedos color

Definition at line 137 of file configData.h.

◆ torpedosLength

unsigned ConfigData::torpedosLength

players torpedos length in pixel // auto defined from width

Definition at line 127 of file configData.h.

◆ torpedosSpeed

unsigned ConfigData::torpedosSpeed

players topedos movement speed

Definition at line 132 of file configData.h.

◆ torpedosWidth

unsigned ConfigData::torpedosWidth

players torpedos width in pixel

Definition at line 122 of file configData.h.


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