class Looper::Grass

Defined in:

looper/grass.cr

Constant Summary

ACCENT_RATIO = 0.33_f32
COLOR = Color.new(red: 43, green: 94, blue: 48)

Constructors

Instance Method Summary

Instance methods inherited from class Looper::Tile

color : Color color, color=(color : Color) color=, draw draw, size : Int32 size, size=(size : Int32) size=, x : Int32 | Float32 x, x=(x : Int32 | Float32) x=, y : Int32 | Float32 y, y=(y : Int32 | Float32) y=

Constructor methods inherited from class Looper::Tile

new(x : Float32 | Int32, y : Float32 | Int32, size : Int32 = SIZE, color : Color = Color::Gray) new

Constructor Detail

def self.new(x, y, color = COLOR) #

[View source]

Instance Method Detail

def draw #

[View source]