struct

GSF::Circle

Inherits Struct < Value < Object

Constructors

new(radius : Int32)
Source

Instance methods

collides?(cx, cy, other : Circle, other_cx, other_cy)

with other Circle (other.radius, other_cx, other_cy)

Source
collides?(cx, cy, box : Box, x, y)

with Box (box.size, x, y)

Source
collides?(cx, cy, other_radius, other_cx, other_cy)

with other Circle (other_radius, other_cx, other_cy)

Source
draw(window : SF::RenderWindow, cx, cy)
Source
radius
Source
radius=(radius : Int32)
Source