Buttons now work (preliminary)

This commit is contained in:
61616
2022-05-05 15:37:06 -04:00
parent 9a08094c35
commit 3da57e1ef0

View File

@@ -1,3 +1,12 @@
abstract interface Number{
abstract void setPos(PVector _pos);
abstract void setPos(float _x, float _y);
abstract PVector getPos();
abstract void setAlignMode(int _mode);
abstract void display();
}
class B12Digit{ class B12Digit{
byte value; byte value;
PVector refPos; PVector refPos;
@@ -109,7 +118,7 @@ class B12Digit{
class B12Int { class B12Int implements Number {
private ArrayList<B12Digit> digits; private ArrayList<B12Digit> digits;
private int value; private int value;
private PVector pos; private PVector pos;
@@ -194,7 +203,7 @@ class B12Int {
class B12Float { class B12Float implements Number{
private ArrayList<B12Digit> digits; private ArrayList<B12Digit> digits;
private float value; private float value;
private PVector pos; private PVector pos;