Merge branch 'aids' of git-subsonics-andreas:andreas/hGameTest into aids
This commit is contained in:
commit
75d8032b5d
9
hGameTest/src/game/ui/CVar.hx
Normal file
9
hGameTest/src/game/ui/CVar.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package game.ui;
|
||||
|
||||
|
||||
typedef CVar = {
|
||||
var name:String;
|
||||
var type:CVarType;
|
||||
var value:Dynamic;
|
||||
@:optional var callback:Void -> Void;
|
||||
};
|
||||
9
hGameTest/src/game/ui/CVarType.hx
Normal file
9
hGameTest/src/game/ui/CVarType.hx
Normal file
@ -0,0 +1,9 @@
|
||||
package game.ui;
|
||||
|
||||
enum CVarType {
|
||||
CInt;
|
||||
CFloat;
|
||||
CString;
|
||||
CBool;
|
||||
CCmd;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user