Beispiel #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();
 }
Beispiel #2
0
 public AIInputComponent(GameObject ball, float speed)
 {
     // TODO: Complete member initialization
     Ball = ball;
     Speed = speed;
 }