class

JamWarmUp::CollisionBox

Inherits Reference < Object

Constructors

new(width : Float32 | Int32 = 1, height : Float32 | Int32 = 1)
Source

Instance methods

collides?(x, y, other : CollisionBox, other_x, other_y)
Source
draw(window : SF::RenderWindow, x, y)
Source
height
Source
width
Source