Added support for changing cached floor/terrain
This commit is contained in:
@@ -42,9 +42,21 @@ public enum CacheLayer{
|
||||
endShader(Shaders.slag);
|
||||
}
|
||||
},
|
||||
normal,
|
||||
normal(5),
|
||||
walls;
|
||||
|
||||
public static final CacheLayer[] all = values();
|
||||
/** Capacity multiplier. */
|
||||
public final int capacity;
|
||||
|
||||
CacheLayer(){
|
||||
this(2);
|
||||
}
|
||||
|
||||
CacheLayer(int capacity){
|
||||
this.capacity = capacity;
|
||||
}
|
||||
|
||||
public void begin(){
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user