aboutsummaryrefslogtreecommitdiff
path: root/examples/game/box.tm
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-08 20:25:06 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-08 20:25:06 -0400
commitf33b7048d7f1255a4f9c04057340f2c71d6fb982 (patch)
tree8b7ea09409eef75696ba60a8ff5f60b8af1ec83d /examples/game/box.tm
parent9f7f4eb858d723b0d4fc954b1575feb05f0f8134 (diff)
Turn into map
Diffstat (limited to 'examples/game/box.tm')
-rw-r--r--examples/game/box.tm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game/box.tm b/examples/game/box.tm
index 88713154..acff269e 100644
--- a/examples/game/box.tm
+++ b/examples/game/box.tm
@@ -5,5 +5,5 @@ use ./world.tm
use ./color.tm
struct Box(pos:Vec2, size=Vec2(50, 50), color=Color.GRAY, blocking=yes):
- func draw(b:&Box):
+ func draw(b:Box):
b.color:draw_rectangle(b.pos, b.size)