examples/pending/netris/src/grid.rb
# Move a piece back up a position
Move a piece back up a position
Move a piece back up a position
def piece_up
    return unless @falling_piece
    @falling_piece.y -= @block_size
    @falling_piece.grid_position.y -= 1
  end
def piece_up return unless @falling_piece @falling_piece . y -= @block_size @falling_piece . grid_position . y -= 1 end
Move a piece back up a position
Move a piece back up a position