public void Reset() { ball.Reset(); cannon.Reset(); can1.Reset(); can2.Reset(); can3.Reset(); }
public GameWorld(ContentManager content) { background = content.Load <Texture2D>("spr_background"); cannon = new Cannon(content); ball = new Ball(content); ball.Reset(); can1 = new PaintCan(content, 450.0f, Color.Red); can2 = new PaintCan(content, 575.0f, Color.Green); can3 = new PaintCan(content, 700.0f, Color.Blue); }