Revert "remove api"

This reverts commit ebd19acde09a589f23328f5d70c7d8bd6f1ee133.
This commit is contained in:
hihoman23 2026-06-25 11:48:09 +02:00
parent ebd19acde0
commit 84b34e75b5

View File

@ -23,4 +23,27 @@ public class Game extends PApplet{
public void _arc(float x, float y, float b, float h, float HALF_PI, float PI) {
arc(x, y, b, h, HALF_PI, PI);
}
public void _fill(int r, int g, int b) {
fill(r, g, b);
}
public void _fill(int b) {
fill(b);
}
public void _rect(float x, float y, float b, float h) {
rect(x, y, b, h);
}
public void _ellipse(float x, float y, float b, float h) {
ellipse(x, y, b, h);
}
public float _random(float x) {
return random(x);
}
}