Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
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
x
Source
x=
(x :
Int32
|
Float32
)
Source
y
Source
y=
(y :
Int32
|
Float32
)
Source