private void InitAttackerItem(Vector2 pos) { AttackerItem = new DebugAttackerItem(pos); Attacker = AttackerItem.GetProperty<AttackerProperty>(); Engine.InsertItem(AttackerItem); }
public void CleanupEngine() { AttackerItem = null; AttackableItem = null; CollectorItem = null; CollectableItem = null; Attacker = null; Attackable = null; Collector = null; Collectable = null; Map = null; Engine = null; }