/// </summary> protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); tex = Content.Load<Texture2D>("ball"); Ball b = new Ball_Mouse(tex); gameObjects.Add(b); b = new Ball_Bounce(tex, new Vector2(200, Window.ClientBounds.Height - 30), Window); gameObjects.Add(b); b = new Ball_Keyboard(tex, new Vector2(50, Window.ClientBounds.Height - 30), Window); gameObjects.Add(b); }
/// </summary> protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); tex = Content.Load <Texture2D>("ball"); Ball b = new Ball_Mouse(tex); gameObjects.Add(b); b = new Ball_Bounce(tex, new Vector2(200, Window.ClientBounds.Height - 30), Window); gameObjects.Add(b); b = new Ball_Keyboard(tex, new Vector2(50, Window.ClientBounds.Height - 30), Window); gameObjects.Add(b); }