NES classic lock

This commit is contained in:
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

@@ -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