class JamWarmUp::Nom

Defined in:

jam_warm_up/nom.cr

Constant Summary

Scale = 4
Size = SpriteSize * Scale
SpriteFile = "./assets/nomanim.png"
SpriteSize = 32

Constructors

Instance Method Summary

Constructor Detail

def self.new(x : Float32 | Int32 = 0, y : Float32 | Int32 = 0) #

[View source]

Instance Method Detail

def animations : GSF::Animations #

[View source]
def collision_box : CollisionBox #

[View source]
def dead? : Bool #

[View source]
def draw(window : SF::RenderWindow) #

[View source]
def update(frame_time) #

[View source]
def x : Int32 | Float32 #

[View source]
def y : Int32 | Float32 #

[View source]