All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mmb.engine.rotate.Rotable Maven / Gradle / Ivy

Go to download

Dependency for the MultiMachineBuilder, a voxel game about building an industrial empire in a finite world. THIS RELEASE IS NOT PLAYABLE. To play the game, donwload from >ITCH.IO LINK HERE< or >GH releases link here<

There is a newer version: 0.6
Show newest version
/**
 * 
 */
package mmb.engine.rotate;

import mmb.NN;

/**
 * @author oskar
 *
 */
public interface Rotable {
	public void setRotation(Rotation rotation);
	public @NN Rotation getRotation();
	public default void cw() {
		setRotation(getRotation().cw());
	}
	public default void ccw() {
		setRotation(getRotation().ccw());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy