From 84b34e75b568b0cf27a5bc56c2857863374afaf7 Mon Sep 17 00:00:00 2001 From: hihoman23 <78002940+hihoman23@users.noreply.github.com> Date: Thu, 25 Jun 2026 11:48:09 +0200 Subject: [PATCH] Revert "remove api" This reverts commit ebd19acde09a589f23328f5d70c7d8bd6f1ee133. --- game.java | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/game.java b/game.java index fa94578..06638d4 100644 --- a/game.java +++ b/game.java @@ -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); + } }