Package dev.boze.api.setting
Class SettingColor
- All Implemented Interfaces:
Serializable<DrawColor>
-
Field Summary
Fields inherited from class dev.boze.api.setting.SettingBase
description, name, owner
-
Constructor Summary
ConstructorDescriptionSettingColor
(ToggleableModule owner, String name, String description, DrawColor value) -
Method Summary
-
Constructor Details
-
SettingColor
-
-
Method Details
-
getValue
- Specified by:
getValue
in classSettingBase<DrawColor>
-
setValue
- Specified by:
setValue
in classSettingBase<DrawColor>
-
reset
- Specified by:
reset
in classSettingBase<DrawColor>
-
toJson
public com.google.gson.JsonObject toJson()- Returns:
- The object as a JsonObject
-
fromJson
- Parameters:
object
- The JsonObject to deserialize- Returns:
- The deserialized object
-