Unicopia/src/main/java/com/minelittlepony/unicopia/entity/Leaner.java

17 lines
377 B
Java
Raw Normal View History

package com.minelittlepony.unicopia.entity;
public interface Leaner {
float getLeaningPitch();
void setLeaningPitch(float pitch);
2021-08-18 17:30:59 +02:00
float getLastLeaningPitch();
void setLastLeaningPitch(float pitch);
default void copyFrom(Leaner other) {
setLeaningPitch(other.getLeaningPitch());
setLastLeaningPitch(other.getLastLeaningPitch());
}
}