summaryrefslogtreecommitdiff
path: root/game/polyomino.lua
diff options
context:
space:
mode:
Diffstat (limited to 'game/polyomino.lua')
-rw-r--r--game/polyomino.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/game/polyomino.lua b/game/polyomino.lua
index 4294c7f..eb726b3 100644
--- a/game/polyomino.lua
+++ b/game/polyomino.lua
@@ -1,9 +1,9 @@
local M = {}
M.__index = M
-function M.def(name, shape)
+function M.def(name, shape, kick_table)
local new = setmetatable({name = name}, M)
-
+ new.kick_table = kick_table or {{{0, 0}}, {{0, 0}}, {{0, 0}}, {{0, 0}}}
new.cells = {}
for l in shape:gmatch "[^%s]+" do
local line = {}