Files
lime/buildfiles/haxe/ApplicationMain.hx
underscorediscovery 7ce604c914 Adding initial commit
2013-06-23 00:24:09 -02:30

26 lines
477 B
Haxe

import ::APP_MAIN::;
import nmegl.NMEGL;
class ApplicationMain {
public static var _main_ : ::APP_MAIN::;
public static var _nmegl : NMEGL;
public static function main () {
//Create the runtime
_nmegl = new NMEGL();
//Create the game class, give it the runtime
_main_ = new ::APP_MAIN::( _nmegl );
var config = {
width : ::WIN_WIDTH::,
height : ::WIN_HEIGHT::,
title : "::APP_TITLE::"
};
//Start up
_nmegl.init( _main_, config );
}
}