abstract class Engine::Game

Direct Known Subclasses

Defined in:

spellstorm/engine/engine.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

abstract def draw #

[View source]
def objects : Array(GameObject) #

[View source]
abstract def on_key(event : SF::Event::KeyEvent, key) #

[View source]
abstract def on_mouse(event, x, y) #

[View source]
abstract def process #

[View source]
def run #

[View source]
def window : SF::RenderWindow #

[View source]