MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / assignTraining

Method assignTraining

game/state/shared/agent.cpp:380–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void Agent::assignTraining(TrainingAssignment assignment)
381{
382 if (type->role == AgentType::Role::Soldier && type->canTrain)
383 {
384 trainingAssignment = assignment;
385 }
386}
387
388void Agent::hire(GameState &state, StateRef<Building> newHome)
389{

Callers 1

CityViewMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected