struct MonsterMaze::Rect
- MonsterMaze::Rect
- Struct
- Value
- Object
Defined in:
monster_maze/rect.crConstructors
Class Method Summary
-
.collides?(width, height, x, y, radius, cx, cy)
Rect (width, height, x, y) with Circle (radius, cx, cy)
Instance Method Summary
-
#collides?(x, y, circle : Circle, cx, cy)
with circle (cx, cy, radius)
- #draw(window : SF::RenderWindow, x, y)
- #height : Int32
- #height=(height : Int32)
- #width : Int32
- #width=(width : Int32)
Constructor Detail
Class Method Detail
def self.collides?(width, height, x, y, radius, cx, cy)
#
Rect (width, height, x, y) with Circle (radius, cx, cy)