com.springrts.ai.oo
Class OOAIFactory

java.lang.Object
  extended by com.springrts.ai.oo.OOAIFactory
All Implemented Interfaces:
AI

public abstract class OOAIFactory
extends Object
implements AI


Constructor Summary
OOAIFactory()
           
 
Method Summary
abstract  OOAI createAI(int teamId, OOAICallback callback)
           
 int handleEvent(int teamId, int topic, Pointer event)
           
 int init(int teamId, AICallback callback)
           
 int release(int teamId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OOAIFactory

public OOAIFactory()
Method Detail

init

public final int init(int teamId,
                      AICallback callback)
Specified by:
init in interface AI

release

public final int release(int teamId)
Specified by:
release in interface AI

handleEvent

public final int handleEvent(int teamId,
                             int topic,
                             Pointer event)
Specified by:
handleEvent in interface AI

createAI

public abstract OOAI createAI(int teamId,
                              OOAICallback callback)