struct Escapist::DoorConfig
- Escapist::DoorConfig
- Struct
- Value
- Object
Defined in:
escapist/floor_data.crConstant Summary
-
All =
[Top, Left, Bottom, Right]
-
Bottom =
DoorConfig.new(:bottom, 1_i8, 0_i8, :top, :left)
-
Left =
DoorConfig.new(:left, 0_i8, -1_i8, :right, :top)
-
Right =
DoorConfig.new(:right, 0_i8, 1_i8, :left, :bottom)
-
Top =
DoorConfig.new(:top, -1_i8, 0_i8, :bottom, :right)
Constructors
Class Method Summary
Instance Method Summary
Constructor Detail
def self.new(name : Symbol, drow : Int8, dcol : Int8, opposite : Symbol, clockwise : Symbol)
#