Class GetTileStatusAction
- java.lang.Object
-
- page.codeberg.terratactician_expandoria.bots.actions.Action
-
- page.codeberg.terratactician_expandoria.bots.actions.GetTileStatusAction
-
public class GetTileStatusAction extends Action
Action for requesting aManual
TileStatusEvent
. This action is restricted for the creative mode.
-
-
Field Summary
Fields Modifier and Type Field Description CubeCoordinate
coord
Coordinate of the tile to take.
-
Constructor Summary
Constructors Constructor Description GetTileStatusAction(CubeCoordinate tile)
Create a take action with a coordinate
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
Name of the action in the json package.java.lang.Object
serializeData()
Serializes the data of the Action.
-
-
-
Field Detail
-
coord
public CubeCoordinate coord
Coordinate of the tile to take.
-
-
Constructor Detail
-
GetTileStatusAction
public GetTileStatusAction(CubeCoordinate tile)
Create a take action with a coordinate- Parameters:
tile
- coordinate of the tile
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:Action
Name of the action in the json package.
-
serializeData
public java.lang.Object serializeData()
Description copied from class:Action
Serializes the data of the Action. This may returns a JSONObject or String or an other supported datatype.- Specified by:
serializeData
in classAction
- Returns:
- JSONObject or String
-
-