Unicopia/src/main/java/com/minelittlepony/unicopia/entity/Leaner.java
2021-08-18 17:30:59 +02:00

16 lines
377 B
Java

package com.minelittlepony.unicopia.entity;
public interface Leaner {
float getLeaningPitch();
void setLeaningPitch(float pitch);
float getLastLeaningPitch();
void setLastLeaningPitch(float pitch);
default void copyFrom(Leaner other) {
setLeaningPitch(other.getLeaningPitch());
setLastLeaningPitch(other.getLastLeaningPitch());
}
}