public LevelVictory(Level level) { this.level = level; backGround = new Image(this.level.Game,Vector2.Zero , @"PlaySceneAssets/background/Background4"); this.overlay = new Image(this.level.Game, new Vector2(120f, 100f) , @"PlaySceneAssets/overlay/Congratulation"); rectangle = new Rectangle((int)overlay.Rectangle.X + 290, (int)overlay.Rectangle.Y + 243, overlay.Rectangle.Width / 10, overlay.Rectangle.Height / 15); }
public LevelGameOver(Level level) { this.level = level; this.text = this.level.Game.Content.Load<Texture2D>(@"PlaySceneAssets/Player/blokje"); this.overlay = new Image(this.level.Game, new Vector2(0,0), @"PlaySceneAssets/overlay/GameOver"); rectangle = new Rectangle((int)overlay.Rectangle.X + 290, (int)overlay.Rectangle.Y + 243, overlay.Rectangle.Width / 10, overlay.Rectangle.Height / 15); }
//loadContent public void LoadContent() { this.level = new Level(this.game, levelNumber); //Console.WriteLine(levelNumber); this.bgMusic = this.game.Content.Load<Song>(@"PlayScene\Background\BGmusic"); MediaPlayer.Play(this.bgMusic); MediaPlayer.Volume = 1; }
//load content public void Loadcontent() { this.level = new Level(this.game, levelNumber); }
//Constructor public LevelEndGame(Level level) { this.level = level; this.background = new Image(this.level.Game, @"PlaySceneAssets\Background\Background2", Vector2.Zero); this.congratulations = new Image(this.level.Game, @"PlaySceneAssets\Background\Congratulation", new Vector2(120f,100f)); }
public void loadLevel() { this.level = new Level(this.game, this.levelNumber); }
public LevelPlay(Level level) { this.level = level; }
//Constructor public LevelPause(Level level) { this.level = level; this.overlay = new Picture(level.Game, @"PlayScene\Overlay\overlay", Vector2.Zero); }
public void LoadLevel() { this.level = new Level(this.game, this.levelIndex); }
//Constructor public LevelPause(Level level) { this.level = level; this.overlay = new Image(level.Game, @"PlaySceneAssets\Overlay\overlay", Vector2.Zero); }
public LevelOpenDoor(Level level) { this.level = level; this.overlay = new Image(this.level.Game, new Vector2(0, 0), @"PlaySceneAssets/overlay/overlayDoorsAreOpen"); }
// LoadConctent methode. Deze methode maakt nieuwe objecten aan van de verschillende // classes. public void LoadContent() { this.level = new Level(this.game, 0); }
//Constructor public LevelDoorOpen(Level level) { this.level = level; this.doorsAreOpen = new Image(level.Game, @"PlaySceneAssets\Overlay\DoorOpenOverlay", Vector2.Zero); }
public LevelDeath(Level level) { this.level = level; this.gameOver = new Image(level.Game, @"PlaySceneAssets\Overlay\overlayDeath", Vector2.Zero); }
public LevelPause(Level level) { this.level = level; this.overlay = new Image(this.level.Game, new Vector2(0,0), @"PlaySceneAssets/overlay/overlay"); }
//Loadcontent public void LoadContent() { this.levelEditorPanel = new LevelEditorPanel(this, new Vector2(0f,448f)); this.level = new Level(this.game, this.levelIndex); this.LoadLevel(); }
//Constructor public LevelNextLevel(Level level) { this.level = level; this.gameOver = new Image(level.Game, @"PlaySceneAssets\Overlay\LevelNextLevel", Vector2.Zero); }
//Constructor public LevelNextLevel(Level level) { this.level = level; this.gameOver = new Picture(level.Game, @"PlayScene\Overlay\LevelNextLevel", Vector2.Zero); }
//Constructor public LevelGameOver(Level level) { this.level = level; this.gameOver = new Picture(level.Game, @"PlayScene\Overlay\GameOverOverlay", Vector2.Zero); }