class Mallofneeds::Game

Defined in:

mallofneeds.cr

Constant Summary

BGM = SF::Music.from_file("media/Fountain_Plaza.ogg")
FONT = SF::Font.from_file("media/Hack-Regular.ttf")
INCOME_PER_STAGE = 300
SCREEN_HEIGHT = 480
SCREEN_WIDTH = 640
SE = SF::SoundBuffer.from_file("media/Kaching.ogg")
SPRITESHEET = SF::Texture.from_file("media/sprites/item_texture.png")

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def create_game_over_intermission #

[View source]
def create_intermission #

[View source]
def create_stage #

[View source]
def game_over? #

[View source]
def increase_stage_number #

[View source]
def process_events #

[View source]
def render #

[View source]
def reset_game_variables #

[View source]
def run #

[View source]
def update #

[View source]
def update_game_variables #

[View source]
def update_happiness #

[View source]
def update_income_rate #

[View source]
def update_money #

[View source]
def update_sickness #

[View source]
def update_slack #

[View source]
def update_speed #

[View source]