Class CustomTowerButtonAction

java.lang.Object
com.prineside.tdi2.Action
com.prineside.tdi2.actions.CustomTowerButtonAction
All Implemented Interfaces:
KryoSerializable

public class CustomTowerButtonAction extends Action
  • Field Details

    • x

      public int x
    • y

      public int y
    • mapX

      public int mapX
    • mapY

      public int mapY
  • Constructor Details

    • CustomTowerButtonAction

      public CustomTowerButtonAction(int x, int y, int mapX, int mapY)
    • CustomTowerButtonAction

      public CustomTowerButtonAction(JsonValue jsonValue)
  • Method Details

    • getType

      public ActionType getType()
      Specified by:
      getType in class Action
    • toJson

      public void toJson(Json json)
      Description copied from class: Action
      Значения должны записываться с учетом того, что json уже находится в объекте Action. Ключ "t" уже занят для типа действия.
      Overrides:
      toJson in class Action
    • write

      public void write(Kryo kryo, Output output)
    • read

      public void read(Kryo kryo, Input input)
    • toString

      public String toString()
      Overrides:
      toString in class Object