From bbc9f75aaf8aab2a43d9b4e09647b6e3c0abeef6 Mon Sep 17 00:00:00 2001 From: jluehrs2 Date: Sat, 8 Sep 2007 20:43:35 -0500 Subject: oops, forgot that one --- test/rl.lua | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test') diff --git a/test/rl.lua b/test/rl.lua index 0ca7b78..712f571 100644 --- a/test/rl.lua +++ b/test/rl.lua @@ -20,16 +20,6 @@ local function botl(str) curses.addstr({y = rows - 1, x = 0}, str) curses.clrtoeol() end - -local function move_char(char, direction) - if direction.x == 0 and direction.y == 0 then return 1 end - local x, y = char.x, char.y - char.x = char.x + direction.x - char.y = char.y + direction.y - if x ~= char.x or y ~= char.y then return 1 - else return 0 - end -end -- }}} -- curses initialization {{{ -- cgit v1.2.3-54-g00ecf