public BoxCollider(GameObject type, int x, int y, int width, int height) { this.Type = type; this.X = x; this.Y = y; this.Width = width; this.Height = height; CollisionManager.AddCollider(this); }
public static void Destroy(GameObject gameObject) { deletedGameObjects.Add(gameObject); }
public static void AddGameObject(GameObject gameObject) { gameObjects.Add(gameObject); }