Interface IStructureWithQuarterCircles

All Superinterfaces:
IPropertyHolder, IPropertyHolderConst

public interface IStructureWithQuarterCircles extends IPropertyHolder
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 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

      default IPropertyValue<Integer> setQuarterCircles(int quarterCircles)
      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.