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