class Tetryst::Tetromino
- Tetryst::Tetromino
- Reference
- Object
Defined in:
tetryst/tetromino.crConstant Summary
-
GHOST_INSET_COLOR =
LibRay::WHITE
-
GHOST_INSET_SIZE =
1
Constructors
Instance Method Summary
- #blocked
- #cells : Array(Array(Cell))
- #collided
- #draw(x, y, size)
- #free
- #ghost_y : Int32
- #grid_x : Int32
- #grid_x=(grid_x : Int32)
- #grid_y : Int32
- #grid_y=(grid_y : Int32)
- #hard_drop
- #rotate(direction)
- #shape : Shape
- #status : Status
- #update_ghost(grid_cells)
- #update_status(grid_cells, delta_x = 0, delta_y = 0)