class JamWarmUp::Scene::Main

Defined in:

jam_warm_up/scene/main.cr

Constant Summary

EnemyWaveSize = 3

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def check_bullets(bullets) #

[View source]
def draw(window) #

[View source]
def enemies : Array(Enemy) #

[View source]
def enemy_hit(bullet, enemy) #

[View source]
def hud : HUD #

[View source]
def nom : Nom #

[View source]
def player : Player #

[View source]
def remove_dead_enemies #

[View source]
def score : Int32 #

[View source]
def spawn_enemies #

[View source]
def update(frame_time, keys : Keys, mouse : Mouse, joysticks : Joysticks) #

[View source]