コード例 #1
0
ファイル: Game.cs プロジェクト: HImports/IslandGame
        public void Update(Main main)
        {
            this.main = main;
            handleConsoleActions(IConsole.update(player.getCameraLoc()));



            world.getIslandManager().setIslandMipsWithCameraLocation(player.getCameraLoc());


            player.updateFirstStep();

            handlePlayerActions(player.getPlayerActions());

            if (!(player.gameIsPaused() && numFramesInGameSofar > 1))
            {
                world.update();
                world.handleActorActions(player.getActorActions());
            }

            player.updateLastStep();
            numFramesInGameSofar++;
        }