module charge.game.scene.simple

Source file for Simple, helper default implementation.

Code Map

//! Source file for Simple, helper default implementation.
module charge.game.scene.simple;


//! Helper that, implements all of the functions on Scene.
class Simple : Scene
{
public:
	this(m: Manager, type: Type) { }
	fn close() { }
	fn updateActions(timepoint: i64) { }
	fn logic() { }
	fn render(gfx.Target, gfx.ViewInfo) { }
	fn keyText(ctl.Keyboard, scope (const(scope (char)[])) { }
	fn keyDown(ctl.Keyboard, i32) { }
	fn keyUp(ctl.Keyboard, i32) { }
	fn mouseMove(ctl.Mouse, i32, i32) { }
	fn mouseDown(ctl.Mouse, i32) { }
	fn mouseUp(ctl.Mouse, i32) { }
	fn assumeControl() { }
	fn dropControl() { }


protected:
	mInput: ctl.Input;
}
class Simple : Scene

Helper that, implements all of the functions on Scene.