class Shape

Defined in:

lib/shape.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(points : Array(Point2D), visible : Bool) #

[View source]

Instance Method Detail

def draw(parent_pos : Rl::Vector2) #

[View source]
def rotate(deg : Float64) #

[View source]
def visible : Bool #

[View source]
def visible=(visible : Bool) #

[View source]