ai
Class PatrolAI

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

public class PatrolAI
extends UnitAI

Author:
Shannon Smith

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
PatrolAI(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

PatrolAI

public PatrolAI(ResourceManager resManager,
                Unit unit)
Method Detail

update

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