Package com.prineside.tdi2
Class GameValueConfig
java.lang.Object
com.prineside.tdi2.GameValueConfig
- All Implemented Interfaces:
KryoSerializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionboolean
boolean
boolean
double
-
Constructor Summary
ConstructorsConstructorDescriptionGameValueConfig
(GameValueType type, double value, boolean overwrite, boolean allowBonuses) -
Method Summary
-
Field Details
-
type
-
value
public double value -
overwrite
public boolean overwrite -
allowBonuses
public boolean allowBonuses -
finalGlobalMultiplier
public boolean finalGlobalMultiplier
-
-
Constructor Details
-
GameValueConfig
public GameValueConfig() -
GameValueConfig
-
-
Method Details
-
write
- Specified by:
write
in interfaceKryoSerializable
-
read
- Specified by:
read
in interfaceKryoSerializable
-
toJson
-
fromJson
- Throws:
IllegalArgumentException
- если GameValueType не найден
-
sameAs
-
cpy
-
toString
-