aboutsummaryrefslogtreecommitdiff
path: root/examples/game/box.tm
diff options
context:
space:
mode:
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)