mmb.engine.worlds.world.PlayerPhysics Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of multimachinebuilder Show documentation
Show all versions of multimachinebuilder Show documentation
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<
/**
*
*/
package mmb.engine.worlds.world;
/**
* @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();
}