예제 #1
0
        GameLevel(Game Game)
        {
            gameBounds = Game.Window.ClientBounds;

            board = new Board(Game.Content, gameBounds);
            player = new Player(Game.Content);
            font = Game.Content.Load<SpriteFont>("LevelAuthor");

            board.AddPlayer(player);
        }
예제 #2
0
파일: Board.cs 프로젝트: strider-/Rush-Hour
 public void AddPlayer(Player Player)
 {
     AddObstacle(Player, new Point(1, 2));
 }