ClassicCityBuilderKit 1.8.8
|
keeps track of all the active walkers in the game
Public Member Functions | |
Walker | GetWalker (Guid id) |
retrieves a walker by its id, can be used to get walker references when loading | |
IEnumerable< Walker > | GetWalkers () |
all the walkers currently active | |
void | RegisterWalker (Walker walker) |
registers a walker into the managers responsibility, called by walker on initialization | |
void | DeregisterWalker (Walker walker) |
deregisters a walker from the managers responsibility, called by walker on finish | |
Events | |
Action< Walker > | WalkerRegistered |
fired when a new walker is registered(happens during initializion) | |
Action< Walker > | WalkerDeregistered |
fired when a walker gets deregistered(happens during finish) | |
void CityBuilderCore.IWalkerManager.DeregisterWalker | ( | Walker | walker | ) |
deregisters a walker from the managers responsibility, called by walker on finish
walker |
Implemented in CityBuilderCore.DefaultBuildingManager, and CityBuilderCore.Tests.DebugWalkerManager.
Walker CityBuilderCore.IWalkerManager.GetWalker | ( | Guid | id | ) |
retrieves a walker by its id, can be used to get walker references when loading
id | unique identifier of the walker |
Implemented in CityBuilderCore.DefaultBuildingManager, and CityBuilderCore.Tests.DebugWalkerManager.
IEnumerable< Walker > CityBuilderCore.IWalkerManager.GetWalkers | ( | ) |
all the walkers currently active
Implemented in CityBuilderCore.DefaultBuildingManager, and CityBuilderCore.Tests.DebugWalkerManager.
void CityBuilderCore.IWalkerManager.RegisterWalker | ( | Walker | walker | ) |
registers a walker into the managers responsibility, called by walker on initialization
walker |
Implemented in CityBuilderCore.DefaultBuildingManager, and CityBuilderCore.Tests.DebugWalkerManager.