21 lines
608 B
Haxe
Executable File
21 lines
608 B
Haxe
Executable File
package ru.m.tankz;
|
|
|
|
import flash.Lib;
|
|
import flash.system.Capabilities;
|
|
|
|
class Const {
|
|
public static var FPS:Int;
|
|
public static var BUILD:String;
|
|
public static var VERSION:String;
|
|
public static var NAME:String;
|
|
public static var DEBUG:Bool;
|
|
|
|
public static function init():Void {
|
|
FPS = Std.parseInt(Lib.current.stage.application.meta.get("fps"));
|
|
BUILD = CompilationOption.get("build");
|
|
VERSION = Lib.current.stage.application.meta.get("version");
|
|
NAME = Lib.current.stage.application.meta.get("name");
|
|
DEBUG = Capabilities.isDebugger;
|
|
}
|
|
}
|