diff --git a/Game/Game1.cs b/Game/Game1.cs index a61bbf0..ffa4763 100644 --- a/Game/Game1.cs +++ b/Game/Game1.cs @@ -68,13 +68,13 @@ public class Game1 : Game gameObjectBall.BehaviourController.AddBehaviour().Assign(spriteBall); gameObjectBall.BehaviourController.AddBehaviour().AABBLocal = new AABB(-Vector2.One * 512f * .5f, Vector2.One * 512f * .5f); gameObjectBall = gameManager.InstantiateGameObject(); - gameObjectBall.Name = "Ball"; - gameObjectBall.Transform.Position = Vector2.UnitY * 30f; - gameObjectBall.Transform.Scale = new Vector2(1f / 51.2f, 1f / 51.2f); - engine.AddRigidBody(gameObjectBall.BehaviourController.AddBehaviour()); - gameObjectBall.BehaviourController.AddBehaviour(new Vector2(.1f, .01f), 500f); - gameObjectBall.BehaviourController.AddBehaviour().Assign(spriteBall); - gameObjectBall.BehaviourController.AddBehaviour().AABBLocal = new AABB(-Vector2.One * 512f * .5f, Vector2.One * 512f * .5f); + // gameObjectBall.Name = "Ball"; + // gameObjectBall.Transform.Position = Vector2.UnitY * 30f; + // gameObjectBall.Transform.Scale = new Vector2(1f / 51.2f, 1f / 51.2f); + // engine.AddRigidBody(gameObjectBall.BehaviourController.AddBehaviour()); + // gameObjectBall.BehaviourController.AddBehaviour(new Vector2(.1f, .01f), 500f); + // gameObjectBall.BehaviourController.AddBehaviour().Assign(spriteBall); + // gameObjectBall.BehaviourController.AddBehaviour().AABBLocal = new AABB(-Vector2.One * 512f * .5f, Vector2.One * 512f * .5f); IGameObject gameObjectLeft = gameManager.InstantiateGameObject(); gameObjectLeft.Name = "Left";