예제 #1
0
        public TownState(CombatSystem cSys, EntityMaintenanceSystem entSys, EntityManager eMan, NameSystem nSys, StateMachine sM, PlayerSystem pS, GameMap gMap)
        {
            entMaintenanceSystem = entSys;
            stateSystem = sM;
            playerSystem = pS;
            gameMap = gMap;

            saveControl = new SaveCharacterControl(cSys, entSys, eMan, nSys);
        }
예제 #2
0
        public CombatState(Lua Lua, EffectSystem eSys, NameSystem nSys, PlayerSystem pSys, EntityManager eMan,CombatSystem cSys,GameMap gMap, StateMachine sMach)
        {
            lua = Lua;
            effectSystem = eSys;
            combatSystem = cSys;
            nameSystem = nSys;
            playerSystem = pSys;
            entityManager = eMan;
            gameMap = gMap;
            stateSystem = sMach;

            RegisterLuaFunctions();
        }
예제 #3
0
        public ShopState(EntityMaintenanceSystem eMS, GearSystem gSys, StatModifierSystem sMSys, StatsSystem sSys, ExperienceSystem eSys, PlayerSystem pSys, DropSystem dSys, NameSystem nSys, StateMachine sMach, ItemSystem iSys, GameMap gMap)
        {
            entMaintenanceSystem = eMS;
            gearSystem = gSys;
            modifierSystem = sMSys;
            statsSystem = sSys;
            experienceSystem = eSys;
            playerSystem = pSys;
            dropSystem=dSys;
            nameSystem = nSys;
            itemSystem = iSys;

            stateSystem = sMach;

            gameMap = gMap;
            NumItems = 5;
        }
예제 #4
0
 public ExploreState(GameMap gMap, PlayerSystem pS, StateMachine sM)
 {
     gameMap = gMap;
     playerSystem = pS;
     stateSystem=sM;
 }