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