Utils.removeFromGrid()
Type | function |
Library | wattageTileEngine.Utils.* |
Return value | VOID |
Keywords | |
See also |
Overview
This function removes a value from a grid at the specified row and column.
Syntax
Utils.removeFromGrid( grid, row, column )
grid (required)
Table. The table from which the value will be removed.
row (required)
Number. The row to remove the value from.
column (required)
Number. The column to remove the value from.
Examples
local TileEngine = require 'plugin.wattageTileEngine'
local Utils = TileEngine.Utils
local grid = {}
Utils.removeFromGrid(grid, 10, 15)