This commit is contained in:
Anuken
2025-07-28 10:14:42 -04:00
parent efccaeb7fc
commit 07d6143bc3
2 changed files with 32 additions and 0 deletions

View File

@@ -25,6 +25,14 @@ public class DrawOperation{
return array.isEmpty();
}
public int size(){
return array.size;
}
public void remove(int amount){
array.setSize(Math.max(0, array.size - amount));
}
public void addOperation(long op){
array.add(op);
}