diff options
Diffstat (limited to 'examples/game/player.tm')
| -rw-r--r-- | examples/game/player.tm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/game/player.tm b/examples/game/player.tm index 3461c6ae..dff95b9d 100644 --- a/examples/game/player.tm +++ b/examples/game/player.tm @@ -27,5 +27,5 @@ struct Player(pos,prev_pos:Vec2): p.prev_pos, p.pos = p.pos, p.pos + World.DT*vel - func draw(p:&Player): + func draw(p:Player): Color.PLAYER:draw_rectangle(p.pos, Player.SIZE) |
