Public Member Functions | |
uint | GetId () |
uint | GetLaneIndex () |
CTrain (uint id, uint wagons, uint lane, string& name) | |
CLane@ | GetLane () |
uint | WagonCount () |
Critter@ | GetWagon (uint n) |
uint | GetState (uint wagon) |
uint | GetState () |
string | GetName () |
uint | GetStartStation () |
CStation@ | GetCurrentStation () |
uint | NextLaneIndex () |
CStation@ | GetNextStation () |
void | Init () |
uint8 | GetDepartureHour () |
void | CheckDeparture () |
void | Depart () |
void | Inbound (CStation& station) |
void | Enter (CStation& station) |
void | Leave (CStation& station) |
void | AllArrived () |
void | CheckArrival () |
Public Attributes | |
private uint | Id |
private uint | Lane |
private uint | LaneIndex |
array< Critter@> | Wagons |
private string | Name |
uint GetId | ( | ) |
uint GetLaneIndex | ( | ) |
CLane@ GetLane | ( | ) |
uint WagonCount | ( | ) |
Critter@ GetWagon | ( | uint | n | ) |
uint GetState | ( | uint | wagon | ) |
uint GetState | ( | ) |
string GetName | ( | ) |
uint GetStartStation | ( | ) |
CStation@ GetCurrentStation | ( | ) |
uint NextLaneIndex | ( | ) |
CStation@ GetNextStation | ( | ) |
void Init | ( | ) |
uint8 GetDepartureHour | ( | ) |
void CheckDeparture | ( | ) |
void Depart | ( | ) |
void Inbound | ( | CStation& | station | ) |
void Enter | ( | CStation& | station | ) |
void Leave | ( | CStation& | station | ) |
void AllArrived | ( | ) |
void CheckArrival | ( | ) |
private uint Id |
private uint Lane |
private uint LaneIndex |