Rulesets can offset next queue draws (read below)

A ruleset can now have offsets for where pieces should be drawn in queue
No rulesets use this *yet*
This commit is contained in:
Ishaan Bhardwaj
2021-01-10 16:42:48 -05:00
parent 818743fe77
commit 5d022f9037
3 changed files with 33 additions and 2 deletions

View File

@@ -34,6 +34,16 @@ Ruleset.next_sounds = {
T = "T"
}
Ruleset.draw_offsets = {
I = { x=0, y=0 },
J = { x=0, y=0 },
L = { x=0, y=0 },
O = { x=0, y=0 },
S = { x=0, y=0 },
T = { x=0, y=0 },
Z = { x=0, y=0 },
}
Ruleset.pieces = 7
-- Component functions.