class Escapist::Box
- Escapist::Box
- Reference
- Object
Defined in:
escapist/box.crConstructors
Instance Method Summary
- #collision?(other : Box)
- #height : Int32 | Float32
- #height=(height : Int32 | Float32)
- #width : Int32 | Float32
- #width=(width : Int32 | Float32)
- #x : Int32 | Float32
- #x=(x : Int32 | Float32)
- #y : Int32 | Float32
- #y=(y : Int32 | Float32)
Constructor Detail
def self.new(x : Float32 | Int32, y : Float32 | Int32, width : Float32 | Int32, height = nil)
#