Various prototypes

This commit is contained in:
Anuken
2020-04-15 12:44:53 -04:00
parent 51226d6c88
commit 0eaf9bc9c6
15 changed files with 2985 additions and 2730 deletions

View File

@@ -83,9 +83,9 @@ public class Bar extends Element{
if(topWidth > Core.atlas.find("bar-top").getWidth()){
top.draw(x, y, topWidth, height);
}else{
if(ScissorStack.pushScissors(scissor.set(x, y, topWidth, height))){
if(ScissorStack.push(scissor.set(x, y, topWidth, height))){
top.draw(x, y, Core.atlas.find("bar-top").getWidth(), height);
ScissorStack.popScissors();
ScissorStack.pop();
}
}