//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); }
public void pickUpLantern(Lantern l) { lantern = l; }