Loading...
Searching...
No Matches
CityBuilderDefense.DefenseManager Class Reference

Detailed Description

contains any custom logic for the defense demo that is not covered by core
namely it manages the top level game state(started, won, lost, retry)
it also manages assigning the correct spawner stage which increases the difficulty over time
when structures are changed it makes every attacker recalculate their path

https://citybuilder.softleitner.com/manual/defense

Inheritance diagram for CityBuilderDefense.DefenseManager:

Public Member Functions

void LoadingChanged (bool isLoading)
 
void ShowMission ()
 
void StartMission ()
 
void Recalculate ()
 
void Continue ()
 
void Retry ()
 

Public Attributes

GameObject StartObject
 
GameObject WinObject
 
GameObject LoseObject
 
TilemapSpawner Spawner
 
DefenseStage[] Stages