mmb.engine.item.TooledItem 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.item;
import mmb.menu.wtool.WindowTool;
/**
* An item with assigned tool
* @author oskar
*/
public class TooledItem extends Item{
/**
* Creates a tooled item
* @param tool window tool to use
*/
public TooledItem(WindowTool tool) {
this.tool = tool;
}
private final WindowTool tool;
@Override
public WindowTool getTool() {
return tool;
}
}