class Looper::RoadCorner

Defined in:

looper/road_corner.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float32 | Int32, y : Float32 | Int32, size = 50, h_size = 1, v_size = 1, h_flip = false, v_flip = false, color = Color::Gray) #

[View source]

Instance Method Detail

def collision?(obj : Obj) #

[View source]
def draw #

[View source]
def x : Int32 | Float32 #

[View source]
def x=(x : Int32 | Float32) #

[View source]
def y : Int32 | Float32 #

[View source]
def y=(y : Int32 | Float32) #

[View source]