class

Escapist::Box

Inherits Reference < Object

Constructors

new(x : Float32 | Int32, y : Float32 | Int32, width : Float32 | Int32, height = nil)
Source

Instance methods

collision?(other : Box)
Source
height
Source
height=(height : Int32 | Float32)
Source
width
Source
width=(width : Int32 | Float32)
Source