mmb.engine.item.ItemEntityMutable 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<
The newest version!
/**
*
*/
package mmb.engine.item;
/**
* A mutable item entity.
* @author oskar
*/
public abstract class ItemEntityMutable extends ItemEntity{
@Override
protected int hash0() {
return hashModifier;
}
@Override
protected boolean equal0(ItemEntity other) {
return false;
}
private static int hashes = 0;
private final int hashModifier = hashes++; //NOSONAR this is a counter
}