Esempio n. 1
0
 public void RemoveGameObject(GameObject gameObject)
 {
     if (!gameObjects.Contains(gameObject)) return;
     gameObjects.Remove(gameObject);
     pairCreator = new PairCreator<ColliderComponent>(gameObjects.Where(x => x.ColliderComponent != null).Select(x => x.ColliderComponent));
     pairs = pairCreator.CreatePairs();
 }
Esempio n. 2
0
 public AIInputComponent(GameObject ball, float speed)
 {
     // TODO: Complete member initialization
     Ball = ball;
     Speed = speed;
 }