FastEcslent::WeaponMgr Class Reference

#include <weaponMgr.h>

Inheritance diagram for FastEcslent::WeaponMgr:

FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr FastEcslent::Mgr

List of all members.

Public Member Functions

 WeaponMgr (Engine *eng, Options opts)
void init ()
void tick (double dt)
 WeaponMgr (Engine *eng, Options opts)
void init ()
void tick (double dt)
 WeaponMgr (Engine *eng, Options opts)
void init ()
void tick (double dt)
 WeaponMgr (Engine *eng, Options opts)
void init ()
void tick (double dt)
 WeaponMgr (Engine *eng, Options opts)
void init ()
void tick (double dt)

Public Attributes

Options options
const WeaponTypeweaponType [NENTITYTYPES]
double maxHitpoints [NENTITYTYPES]
double initArmor [NENTITYTYPES]
double initDamageMultiplier [NENTITYTYPES]
float damageMap [NWEAPONTYPES][NENTITYTYPES]
float range [NWEAPONTYPES]
const WeaponTypeweaponType [NENTITYTYPES]

Private Member Functions

void mapWeaponTypeToEntityType ()
void fixFightingProperties ()
void mapWeaponTypeToEntityType ()
void fixFightingProperties ()
void mapWeaponTypeToEntityType ()
void fixFightingProperties ()
void mapWeaponTypeToEntityType ()
void fixFightingProperties ()
void mapWeaponTypeToEntityType ()
void fixFightingProperties ()


Detailed Description

Definition at line 21 of file weaponMgr.h.


Constructor & Destructor Documentation

FastEcslent::WeaponMgr::WeaponMgr ( Engine eng,
Options  opts 
)

Definition at line 12 of file weaponMgr.cpp.

References options.

FastEcslent::WeaponMgr::WeaponMgr ( Engine eng,
Options  opts 
)

FastEcslent::WeaponMgr::WeaponMgr ( Engine eng,
Options  opts 
)

FastEcslent::WeaponMgr::WeaponMgr ( Engine eng,
Options  opts 
)

FastEcslent::WeaponMgr::WeaponMgr ( Engine eng,
Options  opts 
)


Member Function Documentation

void FastEcslent::WeaponMgr::init ( void   )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 121 of file weaponMgr.cpp.

References fixFightingProperties(), FastEcslent::WeaponTypes::init(), and FastEcslent::ExplosionTypes::init().

Referenced by FastEcslent::Engine::init().

void FastEcslent::WeaponMgr::tick ( double  dt  )  [virtual]

Reimplemented from FastEcslent::Mgr.

Definition at line 130 of file weaponMgr.cpp.

Referenced by FastEcslent::Engine::tickAll().

void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType (  )  [private]

Definition at line 17 of file weaponMgr.cpp.

References damageMap, FastEcslent::NENTITYTYPES, FastEcslent::NWEAPONTYPES, and range.

void FastEcslent::WeaponMgr::fixFightingProperties (  )  [private]

Definition at line 17 of file weaponMgr.cpp.

References FastEcslent::ARMORY, FastEcslent::BARRACKS, FastEcslent::WeaponTypes::Cannon, FastEcslent::COMMANDCENTER, DEBUG, FastEcslent::ENGINEERINGBAY, FastEcslent::FACTORY, FastEcslent::WeaponTypes::Fusion_Cutter, FastEcslent::GAS, FastEcslent::WeaponTypes::Hellfire, FastEcslent::HELLION, initArmor, initDamageMultiplier, FastEcslent::MARAUDER, FastEcslent::MARINE, maxHitpoints, FastEcslent::MINERALS, FastEcslent::NENTITYTYPES, FastEcslent::WeaponTypes::None, FastEcslent::REAPER, FastEcslent::REFINERY, FastEcslent::WeaponTypes::Rifle, FastEcslent::SCV, FastEcslent::TANK, FastEcslent::THOR, and weaponType.

Referenced by init().

void FastEcslent::WeaponMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::tick ( double  dt  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType (  )  [private]

void FastEcslent::WeaponMgr::fixFightingProperties (  )  [private]

void FastEcslent::WeaponMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::tick ( double  dt  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType (  )  [private]

void FastEcslent::WeaponMgr::fixFightingProperties (  )  [private]

void FastEcslent::WeaponMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::tick ( double  dt  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType (  )  [private]

void FastEcslent::WeaponMgr::fixFightingProperties (  )  [private]

void FastEcslent::WeaponMgr::init (  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::tick ( double  dt  )  [virtual]

Reimplemented from FastEcslent::Mgr.

void FastEcslent::WeaponMgr::mapWeaponTypeToEntityType (  )  [private]

void FastEcslent::WeaponMgr::fixFightingProperties (  )  [private]


Member Data Documentation

Options FastEcslent::WeaponMgr::options

Definition at line 24 of file weaponMgr.h.

Referenced by WeaponMgr().

const WeaponType* FastEcslent::WeaponMgr::weaponType[NENTITYTYPES]

Definition at line 25 of file weaponMgr.h.

Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().

double FastEcslent::WeaponMgr::maxHitpoints

Definition at line 26 of file weaponMgr.h.

Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().

double FastEcslent::WeaponMgr::initArmor

Definition at line 27 of file weaponMgr.h.

Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().

double FastEcslent::WeaponMgr::initDamageMultiplier

Definition at line 28 of file weaponMgr.h.

Referenced by fixFightingProperties(), and FastEcslent::Weapon::init().

float FastEcslent::WeaponMgr::damageMap

Definition at line 24 of file weaponMgr.h.

Referenced by mapWeaponTypeToEntityType().

float FastEcslent::WeaponMgr::range

Definition at line 25 of file weaponMgr.h.

Referenced by mapWeaponTypeToEntityType().

const WeaponType* FastEcslent::WeaponMgr::weaponType[NENTITYTYPES]

Definition at line 25 of file weaponMgr.h.


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:21 2013 for FastECSLent by  doxygen 1.5.4