public interface DirectionRelativePropertyHolder
Modifier and Type | Method and Description |
---|---|
<T extends Property<?,?>> |
getProperty(Direction direction,
Class<T> clazz)
Gets the desired property from this property holder when facing towards
the desired
Direction . |
<T extends Property<?,?>> Optional<T> getProperty(Direction direction, Class<T> clazz)
Direction
.T
- The type of propertydirection
- The directionclazz
- Property class