[client] display version
This commit is contained in:
@@ -20,6 +20,15 @@
|
||||
"@type": "ru.m.tankz.view.frames.GameFrame"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"@type": "haxework.gui.LabelView",
|
||||
"inLayout": false,
|
||||
"contentSize": true,
|
||||
"vAlign": "BOTTOM",
|
||||
"hAlign": "RIGHT",
|
||||
"text": "@res:text:version",
|
||||
"@style": "label"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -50,6 +50,7 @@ class Client implements IConnectionHandler {
|
||||
|
||||
var font:Font = Font.enumerateFonts()[0];
|
||||
Provider.get(IResources).text.put("font", "Bookman Old Style");
|
||||
Provider.get(IResources).text.put("version", 'v${Const.VERSION} b${Const.BUILD}');
|
||||
|
||||
Provider.set(IPacketBuilder, new PacketBuilder());
|
||||
#if flash
|
||||
|
||||
Reference in New Issue
Block a user