abstract class Looper::Tile

Direct Known Subclasses

Defined in:

looper/tile.cr

Constant Summary

SIZE = 32

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def color : Color #

[View source]
def color=(color : Color) #

[View source]
def draw #

[View source]
def size : Int32 #

[View source]
def size=(size : Int32) #

[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]