Advanced Strategic Command
Public Member Functions | List of all members
NewGadgetDetection Class Reference

checks, which vehicle and building types are newly available. More...

Public Member Functions

 NewGadgetDetection (Player &player)
 
void evaluate (TechnologyPresenter::Gadgets &storage)
 checks, which vehicle are now available that where not available when constructor was called. More...
 

Detailed Description

checks, which vehicle and building types are newly available.

Definition at line 91 of file researchexecution.cpp.

Constructor & Destructor Documentation

NewGadgetDetection::NewGadgetDetection ( Player player)
inline

Member Function Documentation

void NewGadgetDetection::evaluate ( TechnologyPresenter::Gadgets storage)
inline

checks, which vehicle are now available that where not available when constructor was called.

Definition at line 113 of file researchexecution.cpp.

References TechAdapterDependency::available(), TechnologyPresenter::Gadgets::buildings, buildingTypeRepository, Player::research, ContainerBaseType::techDependency, TechnologyPresenter::Gadgets::units, and vehicleTypeRepository.

Referenced by runResearch().


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