Class SellTowerAction

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

public class SellTowerAction extends Action
  • Field Details

    • x

      public int x
    • y

      public int y
  • Constructor Details

    • SellTowerAction

      public SellTowerAction(int x, int y)
    • SellTowerAction

      public SellTowerAction(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