abstract class Escapist::TileObj
 
  - Escapist::TileObj
 - Reference
 - Object
 
Included Modules
- JSON::Serializable
 
Direct Known Subclasses
Defined in:
escapist/tile_obj.crConstant Summary
- 
        DrawSize = 
96 - 
        Key = 
"to" - 
        TileSize = 
128 
Constructors
- .new(pull : JSON::PullParser)
 - .new(type : String = "block", col : Int32 = 0, row : Int32 = 0)
 - .new(*, __pull_for_json_serializable pull : JSON::PullParser)
 
Class Method Summary
Instance Method Summary
- #area?
 - #area_box
 - #area_entered
 - #area_entered?
 - #area_exited
 - #col : Int32
 - #collidable?
 - #collision_box
 - #draw(window : SF::RenderWindow)
 - #draw_offset
 - #draw_size
 - #jump_to(col : Int32, row : Int32)
 - #key
 - #movable?
 - #move(dx : Float32 | Int32, dy : Float32 | Int32)
 - #row : Int32
 - #size
 - #type : String
 - #type=(type : String)
 - #x
 - #y