Esempio n. 1
0
 //List<Lantern> lanterns;
 public GameplayScreen(Game game)
 {
     this.game = game;
     world = new World((Game1)(game), this);
     animation = new Animation();
     player = new Player(new PlayerState(new Vector2(400, 400), new Vector2()));
     entities = new List<Entity>();
     lantern = new Lantern(player.playerState.position, player, true);
 }
Esempio n. 2
0
 public void pickUpLantern(Lantern l)
 {
     lantern = l;
 }