public Loading(ContentManager content) { this.content = content; // Create objects loading1 = new Background(); loading2 = new Background(); loading3 = new Background(); loading4 = new Background(); feOpeningImageBackground = new Background(); }
public MainMenu() { collidables = new ArrayList(); background = new Background(); playButton = new PlayerButton(); exitButton = new PlayerButton(); player = new Player(); ground = new Ground(new Rectangle(0, 345, 1000, 10)); collidables.Add(playButton); collidables.Add(exitButton); collidables.Add(ground); }
public Level2() { background = new Background(); player = new Player(); ground = new Ground(new Rectangle(0, 400, 1000, 10)); nextButton = new PlayerButton(); hpHearth = new Platform(); hpHearth1 = new Platform(); hpHearth2 = new Platform(); hpHearth3 = new Platform(); hpHearth4 = new Platform(); platform = new Platform(); platform1 = new Platform(); platform2 = new Platform(); platform3 = new Platform(); platform4 = new Platform(); platform5 = new Platform(); collidables = new ArrayList(); enemies = new List<Enemy>(); }