public Player(ContentManager content, RoomScene room, Game1 game) { this.content = content; this.room = room; this.game = game; X = (int)room.StartPosition.X; Y = (int)room.StartPosition.Y; }
protected override void Initialize() { base.Initialize(); room = new RoomScene(Content); room.LoadMap(); player = new Player(Content, room, this); gameState = GameState.Playing; }