public LoadCharacterState(CombatSystem cSys, EntityMaintenanceSystem eMaintSys, EntityManager eMan, StateMachine sMach)
 {
     combatSystem = cSys;
     entityMaintenanceSystem = eMaintSys;
     entityManager = eMan;
     stateSystem = sMach;
 }
 public NewCharacterState(CombatSystem cSys, EntityMaintenanceSystem eSys, EntityManager eMan, StateMachine sMach, PlayerSystem pSys, AISystem aiSys)
 {
     combatSystem = cSys;
     entMaintenanceSystem = eSys;
     playerSystem = pSys;
     entityManager = eMan;
     stateSystem = sMach;
     aiSystem = aiSys;
 }
Exemple #3
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);
        }
Exemple #4
0
        public StatusState(StatsSystem sS, ExperienceSystem eS, StateMachine sM, NameSystem nS, PlayerSystem pS, ProfessionSystem profS)
        {
            statsSystem = sS;
            experienceSystem = eS;
            nameSystem = nS;
            playerSystem = pS;
            professionSystem = profS;

            stateSystem = sM;
        }
        public InventoryState(EntityMaintenanceSystem emSys, StatsSystem sS, GearSystem gS, StatModifierSystem mS, ItemInventorySystem iS, StateMachine sM, NameSystem nSys)
        {
            entMaintenanceSystem = emSys;
            gearSystem = gS;
            statsSystem = sS;
            modifierSystem = mS;
            inventorySystem = iS;
            nameSystem = nSys;

            stateSystem = sM;
        }
Exemple #6
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();
        }
Exemple #7
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;
        }
 public EntityManager(StateMachine sMach, DropSystem dSys, PlayerSystem pS, StatsSystem sS, ItemSystem iS, StatModifierSystem mS, EffectSystem efS, EquipmentSystem eqS, AISystem aiS, GearSystem gS, ExperienceSystem xS, ItemInventorySystem invS, NameSystem nS, ProfessionSystem profS, ActionSystem actS, ActionInventorySystem aInvS, CombatSystem cSys, EntityMaintenanceSystem eMS)
 {
     stateSystem = sMach;
     dropSystem = dSys;
     entMaintenanceSystem = eMS;
     aInventorySystem = aInvS;
     combatSystem = cSys;
     playerSystem = pS;
     statsSystem = sS;
     itemSystem = iS;
     modifierSystem = mS;
     effectSystem = efS;
     equipmentSystem = eqS;
     aiSystem = aiS;
     gearSystem = gS;
     experienceSystem = xS;
     inventorySystem = invS;
     nameSystem = nS;
     professionSystem = profS;
     actionSystem = actS;
 }
Exemple #9
0
 public StartState(StateMachine sM)
 {
     stateSystem = sM;
 }       
Exemple #10
0
 public MenuState(StateMachine sM)
 {
     stateSystem = sM;
 }
 public GameOverState(NameSystem nS, StateMachine sM, EntityManager eM)
 {
     nameSystem = nS;
     stateSystem = sM;
     entityManager = eM;
 }
Exemple #12
0
 public ExploreState(GameMap gMap, PlayerSystem pS, StateMachine sM)
 {
     gameMap = gMap;
     playerSystem = pS;
     stateSystem=sM;
 }