struct DotPrison::Prison::Sector

Defined in:

dot_prison/prison/sectors.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) #

[View source]

Instance Method Detail


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

[View source]
def bottom_right=(v : Tuple(Int32, Int32)) #

[View source]
def centre : Tuple(Float64, Float64) #

[View source]
def centre=(v : Tuple(Float, Float)) #

[View source]

[View source]
def custom_zone_0 : Bool #

def custom_zone_0=(v : Bool) #

def custom_zone_1 : Bool #

def custom_zone_10 : Bool #

def custom_zone_10=(v : Bool) #

def custom_zone_1=(v : Bool) #

def custom_zone_2 : Bool #

def custom_zone_2=(v : Bool) #

def custom_zone_3 : Bool #

def custom_zone_3=(v : Bool) #

def custom_zone_4 : Bool #

def custom_zone_4=(v : Bool) #

def custom_zone_5 : Bool #

def custom_zone_5=(v : Bool) #

def custom_zone_6 : Bool #

def custom_zone_6=(v : Bool) #

def custom_zone_7 : Bool #

def custom_zone_7=(v : Bool) #

def custom_zone_8 : Bool #

def custom_zone_8=(v : Bool) #

def custom_zone_9 : Bool #

def custom_zone_9=(v : Bool) #


[View source]

[View source]

[View source]
def id : Int32 #

[View source]
def id=(v : Int) #

[View source]
def indoor : Bool #

[View source]
def indoor=(v : Bool) #

[View source]

[View source]

[View source]
def num_floor_squares : Int32 #

[View source]
def num_floor_squares=(v : Int) #

[View source]
def num_squares : Int32 #

[View source]
def num_squares=(v : Int) #

[View source]

[View source]
def room_id : Int32 #

[View source]
def room_id=(v : Int) #

[View source]
def room_uid : Int32 #

[View source]
def room_uid=(v : Int) #

[View source]

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

def targets : DotPrison::IndexedTable(Int32) #

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

[View source]
def top_left=(v : Tuple(Int32, Int32)) #

[View source]
def unconsumed : Array(String) #

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]

[View source]

[View source]