NES classic lock

pull/4/head
Ishaan Bhardwaj 2021-02-11 15:58:35 -05:00
parent db652bfa08
commit 80c9236d3c
2 changed files with 6 additions and 0 deletions

View File

@ -34,6 +34,7 @@ function MarathonC89Game:new()
self.enable_hold = false
self.next_queue_length = 1
self.additive_gravity = false
self.classic_lock = true
self.irs = false
end

View File

@ -4,6 +4,7 @@ local Shirase = SRS:extend()
Shirase.name = "Shirase RS"
Shirase.hash = "Shirase"
Shirase.world = false
Shirase.colourscheme = {
I = "R",
@ -87,4 +88,8 @@ function Shirase:onPieceDrop(piece) piece.lock_delay = 0 end
function Shirase:onPieceMove(piece) piece.lock_delay = 0 end
function Shirase:onPieceRotate(piece) piece.lock_delay = 0 end
function Shirase:getDefaultOrientation()
return math.random(4)
end
return Shirase