Ignore:
Timestamp:
2013-09-01 18:40:38 (6 years ago)
Author:
dezhidki
Message:
  • Lisätty kunnon ohjeet.
  • Ctrl + RMouse toimii nyt kunnolla (voi valita monta kerrallaan).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2013/30/DenisZ/CastleMaster/CastleMaster/CastleMaster/Ai/AIStates/AgressiveState.cs

    r4740 r4753  
    2626            get 
    2727            { 
    28                 List<MobWarrior> mobUnits = AI.GetUnitsByType<MobWarrior>(); 
     28                List<MobWarrior> mobUnits = AI.GetUnits<MobWarrior>(); 
    2929 
    3030                if (AI.CoinsAmount >= 200) 
     
    6565        public override void OnStateChosen() 
    6666        { 
    67             warriors = AI.GetUnitsByType<MobWarrior>(); 
    68             rangers = AI.GetUnitsByType<MobRanger>(); 
     67            warriors = AI.GetUnits<MobWarrior>(); 
     68            rangers = AI.GetUnits<MobRanger>(); 
    6969        } 
    7070 
    7171        public override void OnStateReChosen() 
    7272        { 
    73             warriors = AI.GetUnitsByType<MobWarrior>(); 
    74             rangers = AI.GetUnitsByType<MobRanger>(); 
     73            warriors = AI.GetUnits<MobWarrior>(); 
     74            rangers = AI.GetUnits<MobRanger>(); 
    7575        } 
    7676 
Note: See TracChangeset for help on using the changeset viewer.