Class TileClickedEvent
- java.lang.Object
-
- page.codeberg.terratactician_expandoria.bots.events.Event
-
- page.codeberg.terratactician_expandoria.bots.events.TileClickedEvent
-
public class TileClickedEvent extends Event
Event gets send when the user clicks a tile in creative mode. Event needs to be subscribed.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class page.codeberg.terratactician_expandoria.bots.events.Event
Event.EventType
-
-
Field Summary
Fields Modifier and Type Field Description CubeCoordinate
coordinate
Coordinate of clicked tile.Tile.TileType
tileType
Type of clicked tile.
-
Constructor Summary
Constructors Constructor Description TileClickedEvent(org.json.JSONObject data)
Creates a TileClickedEvent from json data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
Methods inherited from class page.codeberg.terratactician_expandoria.bots.events.Event
deserialize, getEventType
-
-
-
-
Field Detail
-
coordinate
public CubeCoordinate coordinate
Coordinate of clicked tile.
-
tileType
public Tile.TileType tileType
Type of clicked tile.
-
-