struct DotPrison::GridTable(T)
Overview
A consumer for Table
s that use 2 coordinates separated by spaces
Such as "0 0" and "100 100"
Defined in:
dot_prison/grid_table.crConstructors
-
.new(table : DotPrison::Table)
A consumer for
Table
s that use 2 coordinates separated by spaces
Instance Method Summary
- #[](x : Int32, y : Int32)
- #[](xy : Tuple(Int32, Int32)) : T
-
#table : DotPrison::Table
A consumer for
Table
s that use 2 coordinates separated by spaces -
#unconsumed
Keys for the associated table that have not been consumed
Instance methods inherited from struct DotPrison::Consumer
initialize
initialize,
table : DotPrison::Table
table
Constructor methods inherited from struct DotPrison::Consumer
new
new
Instance methods inherited from class Object
to_prison
to_prison
Constructor Detail
def self.new(table : DotPrison::Table)
#
A consumer for Table
s that use 2 coordinates separated by spaces
Such as "0 0" and "100 100"
Instance Method Detail
def table : DotPrison::Table
#
A consumer for Table
s that use 2 coordinates separated by spaces
Such as "0 0" and "100 100"
def unconsumed
#
Keys for the associated table that have not been consumed
This may be because they have not been implemented yet, they may have an unknown purpose, or could be part of an unsupported mod