コード例 #1
0
 void OnEnable()
 {
     Bootstrap.AddSimSystem <PlayerInputSystem>();
     Bootstrap.AddSimSystem <GenerateMapSystem>();
     Bootstrap.AddSimSystem <RenderSystem>();
     Bootstrap.AddSimSystem <ResizeMapInputSystem>();
 }
コード例 #2
0
 private void OnEnable()
 {
     Bootstrap.AddSimSystem <RenderSystem>();
     Bootstrap.AddSimSystem <MoveLeftSystem>();
     Bootstrap.AddSimSystem <MovePlayerSystem>();
     Bootstrap.AddSimSystem <ReadInputSystem>();
 }
コード例 #3
0
 void OnEnable()
 {
     Bootstrap.AddSimSystem <PlayerInputSystem>();
     Bootstrap.AddSimSystem <GenerateMapSystem>();
     Bootstrap.AddSimSystem <GenerateMapInputSystem>();
     Bootstrap.AddSimSystem <ResizeMapInputSystem>();
     Bootstrap.AddSimSystem <FOVSystem>();
     Bootstrap.AddSimSystem <InitializeTilesInMemorySystem>();
     Bootstrap.AddSimSystem <UpdateTilesInMemorySystem>();
     Bootstrap.AddSimSystem <RenderSystem>();
 }
コード例 #4
0
        void OnEnable()
        {
            Bootstrap.AddSimSystem <GenerateMapSystem>();

            Bootstrap.AddSimSystem <MapInputSystem>();

            Bootstrap.AddSimSystem <MoveSystem>();
            Bootstrap.AddSimSystem <VisibilitySystem>();
            Bootstrap.AddSimSystem <MonsterAISystem>();
            Bootstrap.AddSimSystem <PlayerInputSystem>();


            Bootstrap.AddSimSystem <RenderSystem>();
        }
コード例 #5
0
        void OnEnable()
        {
            Bootstrap.AddSimSystem <GenerateMapSystem>();

            Bootstrap.AddSimSystem <MapInputSystem>();
            Bootstrap.AddSimSystem <VisibilitySystem>();

            Bootstrap.AddRenderSystem <RenderSystem>();

            Bootstrap.AddSimSystem <MoveSystem>();

            Bootstrap.AddSimSystem <ChangeMonsterCountSystem>();

            var turnSystem = Bootstrap.AddSimSystem <GameTurnSystem>();

            turnSystem.AddTurnActionSystem <PlayerTurnSystem>();
            turnSystem.AddTurnActionSystem <MonsterTurnSystem>();
        }
コード例 #6
0
        void OnEnable()
        {
            Bootstrap.AddInitSystem <TurnBeginSystem>();

            Bootstrap.AddSimSystem <PlayerTurnSystem>();
            Bootstrap.AddSimSystem <MonsterTurnSystem>();

            Bootstrap.AddSimSystem <MapInputSystem>();
            Bootstrap.AddSimSystem <GenerateMapSystem>();
            Bootstrap.AddSimSystem <UpdateMapStateSystem>();
            Bootstrap.AddSimSystem <VisibilitySystem>();

            Bootstrap.AddSimSystem <ChangeMonsterCountSystem>();

            Bootstrap.AddLateSimSystem <CombatSystem>();
            Bootstrap.AddLateSimSystem <DeathSystem>();
            Bootstrap.AddLateSimSystem <TurnEndSystem>();

            Bootstrap.AddRenderSystem <RenderSystem>();
        }