Deep RTS
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
Config Class Reference

#include <Config.h>

Public Member Functions

void setAnimationEnabled (bool v)
 
void setGUI (const std::string &b)
 
void setYieldModifierGold (float mod)
 
void setYieldModifierStone (float mod)
 
void setYieldModifierLumber (float mod)
 
void setConsoleCaptionEnabled (bool b)
 
void setPOMDP (bool b)
 
void setTickModifier (int tickmodifier)
 
void setInstantTownHall (bool b)
 
void setInstantBuilding (bool b)
 
void setHarvestForever (bool b)
 
void setAutoAttack (bool b)
 
void setFoodLimit (int b)
 
void setFarm (bool b)
 
void setBarracks (bool b)
 
void setFootman (bool b)
 
void setArcher (bool b)
 
void setStartGold (int v)
 
void setStartFood (int v)
 
void setStartStone (int v)
 
void setStartLumber (int v)
 
void setTerminalSignal (bool b)
 

Static Public Member Functions

static Config defaults ()
 

Public Attributes

int tickModifier = 10
 
bool instantTownHall = true
 
bool instantBuilding = true
 
bool harvestForever = false
 
bool autoAttack = true
 
int foodLimit = 100
 
bool farmEnabled = true
 
bool barracksEnabled = true
 
bool footmanEnabled = true
 
bool archerEnabled = false
 
bool pompd = false
 
std::string gui = "Blend2DGui"
 
int startGold = 0
 
int startStone = 0
 
int startLumber = 0
 
int startFood = 1
 
int terminalSignal = true
 
float yieldModifierGold = 1.0
 
float yieldModifierStone = 1.0
 
float yieldModifierLumber = 1.0
 
bool animationEnabled = true
 
bool consoleCaptionEnabled = true
 Bool that determine print of FPS and UPS in console. More...
 

Member Function Documentation

◆ defaults()

static Config Config::defaults ( )
inlinestatic

◆ setAnimationEnabled()

void Config::setAnimationEnabled ( bool  v)
inline

◆ setArcher()

void Config::setArcher ( bool  b)
inline

◆ setAutoAttack()

void Config::setAutoAttack ( bool  b)
inline

◆ setBarracks()

void Config::setBarracks ( bool  b)
inline

◆ setConsoleCaptionEnabled()

void Config::setConsoleCaptionEnabled ( bool  b)
inline

◆ setFarm()

void Config::setFarm ( bool  b)
inline

◆ setFoodLimit()

void Config::setFoodLimit ( int  b)
inline

◆ setFootman()

void Config::setFootman ( bool  b)
inline

◆ setGUI()

void Config::setGUI ( const std::string &  b)
inline

◆ setHarvestForever()

void Config::setHarvestForever ( bool  b)
inline

◆ setInstantBuilding()

void Config::setInstantBuilding ( bool  b)
inline

◆ setInstantTownHall()

void Config::setInstantTownHall ( bool  b)
inline

◆ setPOMDP()

void Config::setPOMDP ( bool  b)
inline

◆ setStartFood()

void Config::setStartFood ( int  v)
inline

◆ setStartGold()

void Config::setStartGold ( int  v)
inline

◆ setStartLumber()

void Config::setStartLumber ( int  v)
inline

◆ setStartStone()

void Config::setStartStone ( int  v)
inline

◆ setTerminalSignal()

void Config::setTerminalSignal ( bool  b)
inline

◆ setTickModifier()

void Config::setTickModifier ( int  tickmodifier)
inline

◆ setYieldModifierGold()

void Config::setYieldModifierGold ( float  mod)
inline

◆ setYieldModifierLumber()

void Config::setYieldModifierLumber ( float  mod)
inline

◆ setYieldModifierStone()

void Config::setYieldModifierStone ( float  mod)
inline

Member Data Documentation

◆ animationEnabled

bool Config::animationEnabled = true

◆ archerEnabled

bool Config::archerEnabled = false

◆ autoAttack

bool Config::autoAttack = true

◆ barracksEnabled

bool Config::barracksEnabled = true

◆ consoleCaptionEnabled

bool Config::consoleCaptionEnabled = true

Bool that determine print of FPS and UPS in console.

◆ farmEnabled

bool Config::farmEnabled = true

◆ foodLimit

int Config::foodLimit = 100

◆ footmanEnabled

bool Config::footmanEnabled = true

◆ gui

std::string Config::gui = "Blend2DGui"

◆ harvestForever

bool Config::harvestForever = false

◆ instantBuilding

bool Config::instantBuilding = true

◆ instantTownHall

bool Config::instantTownHall = true

◆ pompd

bool Config::pompd = false

◆ startFood

int Config::startFood = 1

◆ startGold

int Config::startGold = 0

◆ startLumber

int Config::startLumber = 0

◆ startStone

int Config::startStone = 0

◆ terminalSignal

int Config::terminalSignal = true

◆ tickModifier

int Config::tickModifier = 10

◆ yieldModifierGold

float Config::yieldModifierGold = 1.0

◆ yieldModifierLumber

float Config::yieldModifierLumber = 1.0

◆ yieldModifierStone

float Config::yieldModifierStone = 1.0

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