aritmetics

This commit is contained in:
2026-03-24 13:42:34 +00:00
parent 5575c491a1
commit 2bc99cc901
10 changed files with 684 additions and 14 deletions
Binary file not shown.
+5 -1
View File
@@ -15,6 +15,10 @@ fn frame() -> void
{
total += 5;
}
else if (Input.pad().x().pressed())
{
total -= 10;
}
if (total == 30)
{
@@ -24,7 +28,7 @@ fn frame() -> void
{
Log.error("50 is the magic number!");
}
else
else if (total == 15)
{
Log.warn("The magic number is neither 30 nor 50!");
}