Package com.prineside.tdi2.actions
Class SelectGameplayBonusAction
java.lang.Object
com.prineside.tdi2.Action
com.prineside.tdi2.actions.SelectGameplayBonusAction
- All Implemented Interfaces:
 com.esotericsoftware.kryo.KryoSerializable
- 
Field Summary
Fields - 
Constructor Summary
ConstructorsConstructorDescriptionSelectGameplayBonusAction(int stage, int bonusIdx) SelectGameplayBonusAction(com.badlogic.gdx.utils.JsonValue jsonValue)  - 
Method Summary
Modifier and TypeMethodDescriptiongetType()voidread(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input) voidtoJson(com.badlogic.gdx.utils.Json json) Значения должны записываться с учетом того, что json уже находится в объекте Action.toString()voidwrite(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output) Methods inherited from class com.prineside.tdi2.Action
affectsPlayerXp, fromJson 
- 
Field Details
- 
stage
public int stage - 
bonusIdx
public int bonusIdx 
 - 
 - 
Constructor Details
- 
SelectGameplayBonusAction
public SelectGameplayBonusAction(int stage, int bonusIdx)  - 
SelectGameplayBonusAction
public SelectGameplayBonusAction(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
 
 -