|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IUT2004Server

| Method Summary | |
|---|---|
void |
connectNativeBot(java.lang.String botName,
java.lang.String botType)
Connects a UT native bot to the current map. |
java.util.Collection<MapList> |
getAvailableMaps()
|
Flag<java.lang.Double> |
getGameSpeedFlag()
The flag raises events even when the game speed was changed by another UTServer instance or directly in game. |
UT2004Map |
getMap()
Get current map from the server |
java.lang.String |
getMapName()
|
java.util.List<Mutator> |
getMutators()
Reeturns list of all mutators available on the server. |
ObservableCollection<? extends NativeUnrealBotAdapter> |
getNativeAgents()
Returns list of all non pogamut players connected to the game server. |
ObservableCollection<Player> |
getPlayers()
Returns list of all players connected to the game server. |
void |
setAddress(java.lang.String host,
int port)
Sets the address of the server to different location - does not automatically reconnect, use IAgent.stop() and IAgent.start(). |
java.util.concurrent.Future<java.lang.Boolean> |
setGameMap(java.lang.String map)
Method that initiates map-change. |
| Methods inherited from interface cz.cuni.amis.pogamut.base.server.IWorldServer |
|---|
getWorldAddress |
| Methods inherited from interface cz.cuni.amis.pogamut.base.server.IWorldAgentsObserver |
|---|
getAgents |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IGhostAgent |
|---|
getAct |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IObservingAgent |
|---|
getWorldView |
| Methods inherited from interface cz.cuni.amis.pogamut.base.agent.IAgent |
|---|
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop |
| Methods inherited from interface cz.cuni.amis.pogamut.base.component.IComponentAware |
|---|
getEventBus |
| Method Detail |
|---|
void setAddress(java.lang.String host,
int port)
IAgent.stop() and IAgent.start().
setAddress in interface IUnrealServer<IUT2004Bot>address - java.util.Collection<MapList> getAvailableMaps()
getAvailableMaps in interface IUnrealServer<IUT2004Bot>Flag<java.lang.Double> getGameSpeedFlag()
getGameSpeedFlag in interface IUnrealServer<IUT2004Bot>java.lang.String getMapName()
getMapName in interface IUnrealServer<IUT2004Bot>
java.util.concurrent.Future<java.lang.Boolean> setGameMap(java.lang.String map)
throws MapChangeException
Note that the object must restart itself in order to reconnect to the new server.
setGameMap in interface IUnrealServer<IUT2004Bot>map -
MapChangeExceptionObservableCollection<Player> getPlayers()
Custom-bots (created by Pogamut platform) can be recognized. They have non-null+non-empty Player.getJmx() field.
getPlayers in interface IUnrealServer<IUT2004Bot>ObservableCollection<? extends NativeUnrealBotAdapter> getNativeAgents()
getNativeAgents in interface IUnrealServer<IUT2004Bot>java.util.List<Mutator> getMutators()
getMutators in interface IUnrealServer<IUT2004Bot>
void connectNativeBot(java.lang.String botName,
java.lang.String botType)
connectNativeBot in interface IUnrealServer<IUT2004Bot>botName - UT2004Map getMap()
getMap in interface IUnrealServer<IUT2004Bot>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||