public BallManager(ContentManager content, PongGameScreen screen, SpriteBatch spriteBatch) { defaultBallTexture = content.Load <Texture2D>("Images/defaultBall35px"); //fastBallTexture = content.Load<Texture2D>("Images/fastBall"); balls = new List <Ball>(); this.screen = screen; this.spriteBatch = spriteBatch; }
public BallManager(ContentManager content, PongGameScreen screen, SpriteBatch spriteBatch) { defaultBallTexture = content.Load<Texture2D>("Images/defaultBall35px"); //fastBallTexture = content.Load<Texture2D>("Images/fastBall"); balls = new List<Ball>(); this.screen = screen; this.spriteBatch = spriteBatch; }
public PowerupManager(ContentManager content, PongGameScreen screen, SpriteBatch spriteBatch) { multiPupTexture = content.Load <Texture2D>("Images/Powerups/Multiball"); fastPupTexture = content.Load <Texture2D>("Images/Powerups/Fastball"); blueBubbleTexture = content.Load <Texture2D>("Images/Powerups/BlueBubble"); greenBubbleTexture = content.Load <Texture2D>("Images/Powerups/GreenBubble"); random = new Random(); bubbles = new List <PowerupBubble>(); activePowerups = new List <Powerup>(); this.screen = screen; this.spriteBatch = spriteBatch; }
public PowerupManager(ContentManager content, PongGameScreen screen, SpriteBatch spriteBatch) { multiPupTexture = content.Load<Texture2D>("Images/Powerups/Multiball"); fastPupTexture = content.Load<Texture2D>("Images/Powerups/Fastball"); blueBubbleTexture = content.Load<Texture2D>("Images/Powerups/BlueBubble"); greenBubbleTexture = content.Load<Texture2D>("Images/Powerups/GreenBubble"); random = new Random(); bubbles = new List<PowerupBubble>(); activePowerups = new List<Powerup>(); this.screen = screen; this.spriteBatch = spriteBatch; }