public interface IUnitAI
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Unregisters ai from all places.
|
WorldObjectId |
getId()
Returns the
WorldObjectId of the associated unit. |
DefConLocation |
getLocation()
Retrieves location of the controlled object.
|
void |
receiveMessage(IMessage message)
Receives a message from mailbox.
|
void |
update()
Update method called before the main AI.
|
void update()
void receiveMessage(IMessage message)
message
- WorldObjectId getId()
WorldObjectId
of the associated unit.void dispose()
DefConLocation getLocation()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.