Cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ public interface Autotiler{
|
||||
* The mode to slice a texture at.
|
||||
*/
|
||||
enum SliceMode{
|
||||
noSlice,
|
||||
none,
|
||||
bottom,
|
||||
top
|
||||
}
|
||||
@@ -39,7 +39,7 @@ public interface Autotiler{
|
||||
* @return The sliced texture
|
||||
*/
|
||||
default TextureRegion sliced(TextureRegion input, SliceMode mode){
|
||||
return mode == SliceMode.noSlice ? input : mode == SliceMode.bottom ? botHalf(input) : topHalf(input);
|
||||
return mode == SliceMode.none ? input : mode == SliceMode.bottom ? botHalf(input) : topHalf(input);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -95,7 +95,7 @@ public class Conduit extends LiquidBlock implements Autotiler{
|
||||
Draw.z(Layer.block);
|
||||
|
||||
Draw.scl(xscl, yscl);
|
||||
drawAt(x, y, blendbits, rotation, SliceMode.noSlice);
|
||||
drawAt(x, y, blendbits, rotation, SliceMode.none);
|
||||
Draw.reset();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user