module charge.core.basic
Core

Source file for BasicCore.

Code Map

//! Source file for BasicCore.
module charge.core.basic;


//! More basic helper core that only implements dg functions.
class BasicCore : Core
{
public:
	fn setClose(dgt: void delegate()) { }
	fn setUpdateActions(dgt: void delegate(i64)) { }
	fn setLogic(dgt: void delegate()) { }
	fn setRender(dgt: void delegate(gfx.Target, gfx.ViewInfo)) { }
	fn setIdle(dgt: void delegate(i64)) { }


protected:
	mRetVal: i32;
	closeDg: void delegate();
	updateActionsDg: void delegate(i64);
	logicDg: void delegate();
	renderDg: void delegate(gfx.Target, gfx.ViewInfo);
	idleDg: void delegate(i64);
	global gInstance: BasicCore;
}

fn get() Core { }
class BasicCore : Core

More basic helper core that only implements dg functions.