public interface IUnrealServer<BOT extends IUnrealBot> extends IWorldServer<BOT>, IGhostAgent
Modifier and Type | Method and Description |
---|---|
void |
connectNativeBot(String botName,
String botType)
Connects a UT native bot to the current map.
|
Collection<? extends IMapList> |
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.
|
IUnrealMap |
getMap()
Get current map from the server
|
String |
getMapName() |
List<? extends IMutator> |
getMutators()
Reeturns list of all mutators available on the server.
|
cz.cuni.amis.utils.collections.ObservableCollection<? extends IUnrealBot> |
getNativeAgents()
Returns list of all non pogamut players connected to the game server.
|
cz.cuni.amis.utils.collections.ObservableCollection<? extends IPlayer> |
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
IUT2004Server#stop() and IUT2004Server#start() . |
Future<Boolean> |
setGameMap(String map)
Method that initiates map-change.
|
getWorldAddress
getAgents
getAct
getWorldView
getComponentId, getIntrospection, getLogger, getName, getState, kill, pause, resume, start, startPaused, stop
getEventBus
void setAddress(String host, int port)
IUT2004Server#stop()
and IUT2004Server#start()
.address
- Collection<? extends IMapList> getAvailableMaps()
cz.cuni.amis.utils.flag.Flag<Double> getGameSpeedFlag()
String getMapName()
Future<Boolean> setGameMap(String map) throws MapChangeException
Note that the object must restart itself in order to reconnect to the new server.
map
- MapChangeException
cz.cuni.amis.utils.collections.ObservableCollection<? extends IPlayer> getPlayers()
cz.cuni.amis.utils.collections.ObservableCollection<? extends IUnrealBot> getNativeAgents()
List<? extends IMutator> getMutators()
void connectNativeBot(String botName, String botType)
botName
- IUnrealMap getMap()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.