Exemple #1
0
 public GameOver(Player player, LavaSheet lava, CollisionManager collidy, Level level)
 {
     this.player       = player;
     this.lava         = lava;
     this.collidy      = collidy;
     this.level        = level;
     this.previousTime = 0;
 }
Exemple #2
0
 public NextLevel(Player player, Level level, CollisionManager collidy, IStateChanger stateChanger, GraphicsDevice graphicsDevice, ContentManager content, LavaSheet lava)
 {
     this.player         = player;
     this.level          = level;
     this.collidy        = collidy;
     this.stateChanger   = stateChanger;
     this.graphicsDevice = graphicsDevice;
     this.content        = content;
     this.lava           = lava;
 }
 public Level(Player player, Texture2D texture, Texture2D portalTexture, Vector2 position, LevelBinder levelbinder, LavaSheet lava, float scale)
 {
     this.texture         = texture;
     this.InitialPosition = position;
     this.scale           = scale;
     this.levelbinder     = levelbinder;
     this.levelToDraw     = levelbinder.currentLevel;
     this.lava            = lava;
     this.portalTexture   = portalTexture;
     this.player          = player;
     CreateWorld();
 }