Interface ActionsDefManager
-
public interface ActionsDefManager
Manages action definitions. Action defs are user interactions with entities to perform an action on an entity, for example enabling entities or firing weapons.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
enrichClientEntityActionTilesetData(String actionName, ClientEntityAction clientEntityAction)
void
enrichDrawTileImageBoTilesetData(String actionName, DrawTileImageBo drawTileImageBo, boolean actionActive)
boolean
enrichViewPortEntityStatusIconEventTilesetData(String actionName, ViewPortEntityStatusIconEvent viewPortEntityStatusIconEvent, boolean actionActive)
ActionDef
getActionByName(String name)
void
load(InputStream in)
Load actions def container from xml; Incremental operation, so you can invoke it multiple times with different definitions.void
reset()
-
-
-
Method Detail
-
reset
void reset()
-
load
void load(InputStream in)
Load actions def container from xml; Incremental operation, so you can invoke it multiple times with different definitions. Action name is key.- Parameters:
in
-
-
enrichClientEntityActionTilesetData
void enrichClientEntityActionTilesetData(String actionName, ClientEntityAction clientEntityAction)
-
enrichDrawTileImageBoTilesetData
void enrichDrawTileImageBoTilesetData(String actionName, DrawTileImageBo drawTileImageBo, boolean actionActive)
-
enrichViewPortEntityStatusIconEventTilesetData
boolean enrichViewPortEntityStatusIconEventTilesetData(String actionName, ViewPortEntityStatusIconEvent viewPortEntityStatusIconEvent, boolean actionActive)
-
-