Class InvChangedEvent
- java.lang.Object
-
- page.codeberg.terratactician_expandoria.bots.events.Event
-
- page.codeberg.terratactician_expandoria.bots.events.InvChangedEvent
-
public class InvChangedEvent extends Event
Event gets send when the user changes the inventory content or the selected slot.
-
-
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 int
selected
Slot that is selectedjava.util.List<Tile.TileType>
slots
Tiles in creative inventory.
-
Constructor Summary
Constructors Constructor Description InvChangedEvent(org.json.JSONObject data)
Creates a InvChanged 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
-
selected
public int selected
Slot that is selected
-
slots
public java.util.List<Tile.TileType> slots
Tiles in creative inventory.
-
-