class Game::Circle

Defined in:

game/shapes/circle.cr

Constructors

Instance Method Summary

Instance methods inherited from class Game::Ellipse

center_x : Int32 | Float32 center_x, center_x=(center_x : Int32 | Float32) center_x=, center_y : Int32 | Float32 center_y, center_y=(center_y : Int32 | Float32) center_y=, draw_filled(parent_x = 0, parent_y = 0) draw_filled, draw_outlined(parent_x = 0, parent_y = 0) draw_outlined, height height, height=(height) height=, horizontal_radius : Int32 | Float32 horizontal_radius, horizontal_radius=(horizontal_radius : Int32 | Float32) horizontal_radius=, vertical_radius : Int32 | Float32 vertical_radius, vertical_radius=(vertical_radius : Int32 | Float32) vertical_radius=, width width, width=(width) width=, x x, x=(x) x=, y y, y=(y) y=

Constructor methods inherited from class Game::Ellipse

new(center_x = nil, center_y = nil, horizontal_radius = nil, vertical_radius = nil, x = nil, y = nil, width = nil, height = nil, color = nil, filled = Shape::FILLED) new

Instance methods inherited from class Game::Shape

color : Color color, color=(color : Color) color=, draw(image : Image, parent_x = 0, parent_y = 0)
draw(parent_x = 0, parent_y = 0)
draw
, draw_filled(image : Image, parent_x = 0, parent_y = 0)
draw_filled(parent_x = 0, parent_y = 0)
draw_filled
, draw_outlined(image : Image, parent_x = 0, parent_y = 0)
draw_outlined(parent_x = 0, parent_y = 0)
draw_outlined
, filled=(filled : Bool) filled=, filled? : Bool filled?, height height, height=(_height) height=, update(_frame_time) update, width width, width=(_width) width=, x x, x=(_x) x=, y y, y=(_y) y=

Constructor methods inherited from class Game::Shape

new(color, filled : Bool = FILLED) new

Constructor Detail

def self.new(center_x = nil, center_y = nil, radius = nil, x = nil, y = nil, size = nil, color = nil, filled = Shape::FILLED) #

[View source]

Instance Method Detail

def radius #

[View source]