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

public interface IUDKServer
| Method Summary | |
|---|---|
void |
connectNativeBot(String botName,
String botType)
Connects a UT native bot to the current map. |
Collection<MapList> |
getAvailableMaps()
|
cz.cuni.amis.utils.flag.Flag<Double> |
getGameSpeedFlag()
The flag raises events even when the game speed was changed by another UTServer instance or directly in game. |
UDKMap |
getMap()
Get current map from the server |
String |
getMapName()
|
List<Mutator> |
getMutators()
Reeturns list of all mutators available on the server. |
cz.cuni.amis.utils.collections.ObservableCollection<? extends NativeUDKBotAdapter> |
getNativeAgents()
Returns list of all non pogamut players connected to the game server. |
cz.cuni.amis.utils.collections.ObservableCollection<Player> |
getPlayers()
Returns list of all players connected to the game server. |
void |
setAddress(String host,
int port)
Sets the address of the server to different location - does not automatically reconnect, use IAgent.stop() and IAgent.start(). |
Future<Boolean> |
setGameMap(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(String host,
int port)
IAgent.stop() and IAgent.start().
setAddress in interface IUnrealServer<IUDKBot>address - Collection<MapList> getAvailableMaps()
getAvailableMaps in interface IUnrealServer<IUDKBot>cz.cuni.amis.utils.flag.Flag<Double> getGameSpeedFlag()
getGameSpeedFlag in interface IUnrealServer<IUDKBot>String getMapName()
getMapName in interface IUnrealServer<IUDKBot>
Future<Boolean> setGameMap(String map)
throws MapChangeException
Note that the object must restart itself in order to reconnect to the new server.
setGameMap in interface IUnrealServer<IUDKBot>map -
MapChangeExceptioncz.cuni.amis.utils.collections.ObservableCollection<Player> getPlayers()
getPlayers in interface IUnrealServer<IUDKBot>cz.cuni.amis.utils.collections.ObservableCollection<? extends NativeUDKBotAdapter> getNativeAgents()
getNativeAgents in interface IUnrealServer<IUDKBot>List<Mutator> getMutators()
getMutators in interface IUnrealServer<IUDKBot>
void connectNativeBot(String botName,
String botType)
connectNativeBot in interface IUnrealServer<IUDKBot>botName - UDKMap getMap()
getMap in interface IUnrealServer<IUDKBot>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||