class Engine

Defined in:

engine.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(scene : Scene, input : Input) #

[View source]

Class Method Detail

def self.input #

[View source]
def self.instance #

[View source]
def self.lerp(current : Vector, target : Vector, rate) #

[View source]
def self.lerp(current, target, rate) #

[View source]
def self.time #

[View source]

Instance Method Detail

def freeze(time : Float64) #

[View source]
def freeze(time : Int32) #

[View source]
def freeze_time : Float64 #

[View source]
def freeze_time=(freeze_time : Float64) #

[View source]
def render(window) #

[View source]
def scene : Scene #

[View source]
def scene=(scene : Scene) #

[View source]
def update(time) #

[View source]