public static void OnBirth(KotlAutomaton automaton, AutomatonStatue statue) { if (Statues == null) { Statues = new Dictionary <KotlAutomaton, AutomatonStatue>(); } if (!Statues.ContainsKey(automaton)) { Statues[automaton] = statue; } }
public override bool OnBeforeDeath() { if (!Controlled) { if (Region.IsPartOf("KotlCity")) { AutomatonStatue.OnDeath(this); } } return(base.OnBeforeDeath()); }