Class 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 selected
      java.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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • selected

        public int selected
        Slot that is selected
      • slots

        public java.util.List<Tile.TileType> slots
        Tiles in creative inventory.
    • Constructor Detail

      • InvChangedEvent

        public InvChangedEvent​(org.json.JSONObject data)
        Creates a InvChanged from json data.
        Parameters:
        data - json data
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object