Package com.prineside.tdi2.actions
Class GlobalUpgradeMinerAction
java.lang.Object
com.prineside.tdi2.Action
com.prineside.tdi2.actions.GlobalUpgradeMinerAction
- All Implemented Interfaces:
com.esotericsoftware.kryo.KryoSerializable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGlobalUpgradeMinerAction
(com.badlogic.gdx.utils.JsonValue jsonValue) GlobalUpgradeMinerAction
(MinerType minerType) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
void
read
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) void
toJson
(com.badlogic.gdx.utils.Json json) Значения должны записываться с учетом того, что json уже находится в объекте Action.toString()
void
write
(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Action
affectsPlayerXp, fromJson
-
Field Details
-
minerType
-
-
Constructor Details
-
GlobalUpgradeMinerAction
-
GlobalUpgradeMinerAction
public GlobalUpgradeMinerAction(com.badlogic.gdx.utils.JsonValue jsonValue)
-
-
Method Details
-
getType
-
toJson
public void toJson(com.badlogic.gdx.utils.Json json) Description copied from class:Action
Значения должны записываться с учетом того, что json уже находится в объекте Action. Ключ "t" уже занят для типа действия. -
write
public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) -
read
public void read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) -
toString
-