Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Grid
Inherits
Reference
<
Object
Constructors
new
(size
X
:
Int32
, size
Y
:
Int32
, obstacles :
Array
(
Point
) = [] of
Point
)
Instance methods
fit_in
(point :
Point
) :
Point
has_obstacle?
(point :
Point
) :
Bool
sizeX
sizeY