Interface IStructureWithQuarterCircles
- All Superinterfaces:
IPropertyHolder,IPropertyHolderConst
Describes a type of structure that rotates for a certain number of quarter circles. This is used for structures like
drawbridges, and big doors.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intThe number of quarter circles (so 90 degree rotations) this structure will make before stopping.default IPropertyValue<Integer> setQuarterCircles(int quarterCircles) Sets the number of quarter circles (so 90 degree rotations) this structure will make before stopping.Methods inherited from interface nl.pim16aap2.animatedarchitecture.core.structures.properties.IPropertyHolder
setPropertyValueMethods inherited from interface nl.pim16aap2.animatedarchitecture.core.structures.properties.IPropertyHolderConst
getPropertyValue, getRequiredPropertyValue, hasProperties, hasProperties, hasProperties, hasProperty
-
Method Details
-
getQuarterCircles
default int getQuarterCircles()The number of quarter circles (so 90 degree rotations) this structure will make before stopping.- Returns:
- The number of quarter circles this structure will rotate.
-
setQuarterCircles
Sets the number of quarter circles (so 90 degree rotations) this structure will make before stopping.- Parameters:
quarterCircles- The number of quarter circles this structure will rotate.- Returns:
- The previous property value of the open status property.
-