Class FragileProperty
java.lang.Object
group24.escaperoom.entities.properties.ItemProperty<BooleanProperty.BooleanValue>
group24.escaperoom.entities.properties.BooleanProperty
group24.escaperoom.entities.properties.FragileProperty
- All Implemented Interfaces:
com.badlogic.gdx.utils.Json.Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class group24.escaperoom.entities.properties.BooleanProperty
BooleanProperty.BooleanValueNested classes/interfaces inherited from class group24.escaperoom.entities.properties.ItemProperty
ItemProperty.MenuType -
Field Summary
Fields inherited from class group24.escaperoom.entities.properties.BooleanProperty
currentValueFields inherited from class group24.escaperoom.entities.properties.ItemProperty
owner -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class group24.escaperoom.entities.properties.BooleanProperty
getAvailableActions, getCurrentValue, getInputType, getPotentialValues, getValueClass, isTrue, read, set, writeMethods inherited from class group24.escaperoom.entities.properties.ItemProperty
apply, cloneProperty, defaultConfiguration, getActions, getCurrentValues, getCustomItemConfigurationMenu, getOwner, getPopOut, set, setOwner, unsafeSet, unsafeSet, updateTexture
-
Constructor Details
-
FragileProperty
public FragileProperty()
-
-
Method Details
-
getDescription
- Specified by:
getDescriptionin classItemProperty<BooleanProperty.BooleanValue>- Returns:
- the
PropertyDescriptionof this Property
-
getDisplayName
- Specified by:
getDisplayNamein classItemProperty<BooleanProperty.BooleanValue>- Returns:
- name of this property, used as a display string in menus
-
getType
- Specified by:
getTypein classItemProperty<BooleanProperty.BooleanValue>- Returns:
PropertyTypeof this property. This allows us to get the property of an item from it's property map- See Also:
-
setBroken
public void setBroken(boolean isBroken) -
isBroken
public boolean isBroken()
-