ai
Class DefendAI

java.lang.Object
  extended by ai.UnitAI
      extended by ai.DefendAI

public class DefendAI
extends UnitAI


Nested Class Summary
 
Nested classes/interfaces inherited from class ai.UnitAI
UnitAI.UnitAction, UnitAI.UnitMove, UnitAI.UnitTurn
 
Field Summary
 
Fields inherited from class ai.UnitAI
icon, unit
 
Constructor Summary
DefendAI(ResourceManager resManager, Unit unit)
           
 
Method Summary
 void update(Game game, float step)
           
 
Methods inherited from class ai.UnitAI
draw, getFireCannon, getLaunchMissile, getMove, getResupply, getTurn, getTurretTurn, setUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefendAI

public DefendAI(ResourceManager resManager,
                Unit unit)
Method Detail

update

public void update(Game game,
                   float step)
Overrides:
update in class UnitAI