struct DotPrison::GridTable(T)

Overview

A consumer for Tables that use 2 coordinates separated by spaces

Such as "0 0" and "100 100"

Defined in:

dot_prison/grid_table.cr

Constructors

Instance Method Summary

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 Tables that use 2 coordinates separated by spaces

Such as "0 0" and "100 100"


[View source]

Instance Method Detail

def [](x : Int32, y : Int32) #

[View source]
def [](xy : Tuple(Int32, Int32)) : T #

[View source]
def table : DotPrison::Table #

A consumer for Tables 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


[View source]