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

mmb.engine.worlds.world.PlayerPhysics 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<

The newest version!
/**
 * 
 */
package mmb.engine.worlds.world;

/**
 * Defines how the player behaves to physical events
 * @author oskar
 */
public interface PlayerPhysics {
	/**
	 * Update the player's speed and position
	 * @param w
	 * @param p
	 * @param ctrlR
	 * @param ctrlD
	 */
	public void onTick(World w, Player p, double ctrlR, double ctrlD);
	/**
	 * @return the description of the current physics state
	 */
	public String description();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy