private static void GameObject_OnCreate(GameObject sender, EventArgs args) { if (sender.IsBall()) { Balls.Add(new Ball(sender)); } }
public Ball(GameObject obj) { Object = obj as Obj_AI_Minion; }