diff options
Diffstat (limited to 'examples/game/box.tm')
| -rw-r--r-- | examples/game/box.tm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/game/box.tm b/examples/game/box.tm index dda3dd83..41ae10e5 100644 --- a/examples/game/box.tm +++ b/examples/game/box.tm @@ -2,6 +2,6 @@ use ./world.tm use ./raylib.tm -struct Box(pos:Vector2, size=Vector2(50, 50), color=Color(0x80,0x80,0x80)): - func draw(b:Box): +struct Box(pos:Vector2, size=Vector2(50, 50), color=Color(0x80,0x80,0x80)) + func draw(b:Box) DrawRectangleV(b.pos, b.size, b.color) |
