FastEcslent::Building Class Reference

#include <buildings.h>

Inheritance diagram for FastEcslent::Building:

FastEcslent::Entity FastEcslent::Entity FastEcslent::Entity FastEcslent::Entity FastEcslent::Entity FastEcslent::Armory FastEcslent::Armory FastEcslent::Armory FastEcslent::Armory FastEcslent::Armory FastEcslent::Barracks FastEcslent::Barracks FastEcslent::Barracks FastEcslent::Barracks FastEcslent::Barracks FastEcslent::CommandCenter FastEcslent::CommandCenter FastEcslent::CommandCenter FastEcslent::CommandCenter FastEcslent::CommandCenter FastEcslent::EngineeringBay FastEcslent::EngineeringBay FastEcslent::EngineeringBay FastEcslent::EngineeringBay FastEcslent::EngineeringBay FastEcslent::Factory FastEcslent::Factory FastEcslent::Factory FastEcslent::Factory FastEcslent::Factory FastEcslent::Gas FastEcslent::Gas FastEcslent::Gas FastEcslent::Gas FastEcslent::Gas FastEcslent::Minerals FastEcslent::Minerals FastEcslent::Minerals FastEcslent::Minerals FastEcslent::Minerals FastEcslent::Refinery FastEcslent::Refinery FastEcslent::Refinery FastEcslent::Refinery FastEcslent::Refinery FastEcslent::SupplyDepot FastEcslent::SupplyDepot FastEcslent::SupplyDepot FastEcslent::SupplyDepot FastEcslent::SupplyDepot

List of all members.

Public Member Functions

 Building (Engine *engine, EntityType etype)
 ~Building ()
virtual void init ()
 Building (Engine *engine, EntityType etype)
 ~Building ()
virtual void init ()
bool enqueue (EntityType entityType)
bool removeAtIndex (unsigned int pos)
bool removeTail (void)
bool cancelEntityBeingBuilt ()
 Building (Engine *engine, EntityType etype)
 ~Building ()
virtual void init ()
bool enqueue (EntityType entityType)
bool removeAtIndex (unsigned int pos)
bool removeTail (void)
bool cancelEntityBeingBuilt ()
 Building (Engine *engine, EntityType etype)
 ~Building ()
virtual void init ()
bool enqueue (EntityType entityType)
bool removeAtIndex (unsigned int pos)
bool removeTail (void)
bool cancelEntityBeingBuilt ()
 Building (Engine *engine, EntityType etype)
 ~Building ()
virtual void init ()
bool enqueue (EntityType entityType)
bool removeAtIndex (unsigned int pos)
bool removeTail (void)
bool cancelEntityBeingBuilt ()

Public Attributes

std::deque< EntityTypeentityQueue
bool buildableEntities [NENTITYTYPES]
EntityentityBeingBuilt
std::deque< EntityTypeentityQueue
EntityentityBeingBuilt
std::deque< EntityTypeentityQueue
EntityentityBeingBuilt
std::deque< EntityTypeentityQueue
EntityentityBeingBuilt


Detailed Description

Definition at line 18 of file buildings.h.


Constructor & Destructor Documentation

FastEcslent::Building::Building ( Engine engine,
EntityType  etype 
)

Definition at line 15 of file buildings.cpp.

References FastEcslent::Entity::entityClass, FastEcslent::Entity::meshName, FastEcslent::STATIC, and FastEcslent::Entity::uiname.

FastEcslent::Building::~Building (  ) 

Definition at line 30 of file buildings.cpp.

FastEcslent::Building::Building ( Engine engine,
EntityType  etype 
)

FastEcslent::Building::~Building (  ) 

FastEcslent::Building::Building ( Engine engine,
EntityType  etype 
)

FastEcslent::Building::~Building (  ) 

FastEcslent::Building::Building ( Engine engine,
EntityType  etype 
)

FastEcslent::Building::~Building (  ) 

FastEcslent::Building::Building ( Engine engine,
EntityType  etype 
)

FastEcslent::Building::~Building (  ) 


Member Function Documentation

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

Reimplemented from FastEcslent::Entity.

Definition at line 33 of file buildings.cpp.

References FastEcslent::Entity::addAspect(), FastEcslent::Entity::ai, DEBUG, FastEcslent::UnitAI::init(), FastEcslent::WeaponTypes::Rifle, FastEcslent::UNITAI, FastEcslent::WEAPON, and FastEcslent::Entity::weapon.

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

Reimplemented from FastEcslent::Entity.

bool FastEcslent::Building::enqueue ( EntityType  entityType  ) 

Definition at line 45 of file buildings.cpp.

References buildableEntities, entityBeingBuilt, and entityQueue.

bool FastEcslent::Building::removeAtIndex ( unsigned int  pos  ) 

Definition at line 66 of file buildings.cpp.

References entityQueue.

bool FastEcslent::Building::removeTail ( void   ) 

Definition at line 75 of file buildings.cpp.

References entityQueue.

bool FastEcslent::Building::cancelEntityBeingBuilt (  ) 

Definition at line 61 of file buildings.cpp.

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

Reimplemented from FastEcslent::Entity.

bool FastEcslent::Building::enqueue ( EntityType  entityType  ) 

bool FastEcslent::Building::removeAtIndex ( unsigned int  pos  ) 

bool FastEcslent::Building::removeTail ( void   ) 

bool FastEcslent::Building::cancelEntityBeingBuilt (  ) 

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

Reimplemented from FastEcslent::Entity.

bool FastEcslent::Building::enqueue ( EntityType  entityType  ) 

bool FastEcslent::Building::removeAtIndex ( unsigned int  pos  ) 

bool FastEcslent::Building::removeTail ( void   ) 

bool FastEcslent::Building::cancelEntityBeingBuilt (  ) 

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

Reimplemented from FastEcslent::Entity.

bool FastEcslent::Building::enqueue ( EntityType  entityType  ) 

bool FastEcslent::Building::removeAtIndex ( unsigned int  pos  ) 

bool FastEcslent::Building::removeTail ( void   ) 

bool FastEcslent::Building::cancelEntityBeingBuilt (  ) 


Member Data Documentation

std::deque<EntityType> FastEcslent::Building::entityQueue

Definition at line 21 of file buildings.h.

Referenced by enqueue(), removeAtIndex(), and removeTail().

bool FastEcslent::Building::buildableEntities

Definition at line 22 of file buildings.h.

Referenced by FastEcslent::Barracks::Barracks(), FastEcslent::CommandCenter::CommandCenter(), enqueue(), and FastEcslent::Factory::Factory().

Entity* FastEcslent::Building::entityBeingBuilt

Definition at line 24 of file buildings.h.

Referenced by enqueue().

std::deque<EntityType> FastEcslent::Building::entityQueue

Definition at line 21 of file buildings.h.

Entity* FastEcslent::Building::entityBeingBuilt

Definition at line 24 of file buildings.h.

std::deque<EntityType> FastEcslent::Building::entityQueue

Definition at line 21 of file buildings.h.

Entity* FastEcslent::Building::entityBeingBuilt

Definition at line 24 of file buildings.h.

std::deque<EntityType> FastEcslent::Building::entityQueue

Definition at line 21 of file buildings.h.

Entity* FastEcslent::Building::entityBeingBuilt

Definition at line 24 of file buildings.h.


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