struct MonsterMaze::Box
- MonsterMaze::Box
- Struct
- Value
- Object
Defined in:
monster_maze/box.crConstructors
Class Method Summary
-
.collides?(size, x, y, radius, cx, cy)
Box (size, x, y) with Circle (radius, cx, cy)
Instance Method Summary
-
#collides?(x, y, other : Box, other_x, other_y)
with other Box
-
#collides?(x, y, circle : Circle, cx, cy)
with circle (cx, cy, radius)
- #draw(window : SF::RenderWindow, x, y)
- #size : Int32
- #size=(size : Int32)