From 904917a2bd3b2e03bf2c399b5bc5f5e357d404a2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 11 Mar 2025 18:30:42 -0400 Subject: Update comments --- examples/game/box.tm | 2 +- examples/game/game.tm | 2 +- examples/game/world.tm | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'examples') diff --git a/examples/game/box.tm b/examples/game/box.tm index b95fd895..dda3dd83 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), blocking=yes): +struct Box(pos:Vector2, size=Vector2(50, 50), color=Color(0x80,0x80,0x80)): func draw(b:Box): DrawRectangleV(b.pos, b.size, b.color) diff --git a/examples/game/game.tm b/examples/game/game.tm index e0bf7b32..b034f68b 100644 --- a/examples/game/game.tm +++ b/examples/game/game.tm @@ -1,4 +1,4 @@ -# This game demo uses Raylib to present a simple +# This game demo uses Raylib to present a simple maze-type game use ./raylib.tm use ./world.tm diff --git a/examples/game/world.tm b/examples/game/world.tm index 864bd8d2..58fcd4fa 100644 --- a/examples/game/world.tm +++ b/examples/game/world.tm @@ -1,4 +1,5 @@ - +# This file defines a World object for keeping track of everything, as well +# as the collision logic. use ./player.tm use ./raylib.tm use ./box.tm -- cgit v1.2.3