class

Game::Shape

Inherits Reference < Object

Constants

FILLED = true

Constructors

new(color, filled : Bool = FILLED)
Source

Instance methods

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