[client] set haxework version 0.9.0
This commit is contained in:
@@ -70,9 +70,8 @@ const client = new Project(
|
|||||||
sources: ['src/client/haxe'],
|
sources: ['src/client/haxe'],
|
||||||
main: 'ru.m.tankz.Client',
|
main: 'ru.m.tankz.Client',
|
||||||
assets: ['src/client/resources'],
|
assets: ['src/client/resources'],
|
||||||
//flags: ['bitmap_text'],
|
|
||||||
flags: [
|
flags: [
|
||||||
'dom',
|
//'dom',
|
||||||
//'dev_layout',
|
//'dev_layout',
|
||||||
//'bitmap_text',
|
//'bitmap_text',
|
||||||
],
|
],
|
||||||
|
|||||||
10
package.json
10
package.json
@@ -1,18 +1,19 @@
|
|||||||
{
|
{
|
||||||
"name": "tankz",
|
"name": "tankz",
|
||||||
"version": "0.7.5",
|
"version": "0.8.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"dateformat": "^3.0.3",
|
"dateformat": "^3.0.3",
|
||||||
"gulp": "^4.0.0",
|
"gulp": "^4.0.0",
|
||||||
|
"gulp-add": "0.0.2",
|
||||||
"gulp-clean": "^0.4.0",
|
"gulp-clean": "^0.4.0",
|
||||||
"gulp-haxetool": "^0.0.14"
|
"gulp-haxetool": "^0.0.14"
|
||||||
},
|
},
|
||||||
"haxeDependencies": {
|
"haxeDependencies": {
|
||||||
"haxework": "git@bitbucket.org:shmyga/haxework.git",
|
"haxework": "0.9.0",
|
||||||
"lime": "7.2.1",
|
"lime": "7.2.1",
|
||||||
"openfl": "8.8.0",
|
"openfl": "8.8.0",
|
||||||
"hxcpp": "4.0.4",
|
"hxcpp": "4.0.8",
|
||||||
"promhx": "1.1.0",
|
"promhx": "1.1.0",
|
||||||
"protohx": "0.4.6",
|
"protohx": "0.4.6",
|
||||||
"yaml": "1.3.0",
|
"yaml": "1.3.0",
|
||||||
@@ -20,8 +21,5 @@
|
|||||||
"yield": "2.0.0",
|
"yield": "2.0.0",
|
||||||
"haxe-crypto": "0.0.7",
|
"haxe-crypto": "0.0.7",
|
||||||
"svg": "1.1.2"
|
"svg": "1.1.2"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"gulp-add": "0.0.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
package ru.m.tankz.editor.frame;
|
package ru.m.tankz.editor.frame;
|
||||||
|
|
||||||
import ru.m.draw.Color;
|
|
||||||
import ru.m.tankz.editor.tank.TankView;
|
import ru.m.tankz.editor.tank.TankView;
|
||||||
import haxework.gui.InputView;
|
import haxework.gui.InputView;
|
||||||
import haxework.gui.HGroupView;
|
import haxework.gui.HGroupView;
|
||||||
@@ -18,6 +17,6 @@ import haxework.gui.HGroupView;
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function onChange(?_):Void {
|
public function onChange(?_):Void {
|
||||||
tank.color = Color.fromString('#${colorR.text}${colorG.text}${colorB.text}');
|
tank.color = '#${colorR.text}${colorG.text}${colorB.text}';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
package ru.m.tankz.editor.tank;
|
package ru.m.tankz.editor.tank;
|
||||||
|
|
||||||
import ru.m.draw.BitmapUtil;
|
|
||||||
import ru.m.draw.Color;
|
|
||||||
import flash.display.BitmapData;
|
|
||||||
import flash.display.Bitmap;
|
import flash.display.Bitmap;
|
||||||
|
import flash.display.BitmapData;
|
||||||
|
import haxework.color.Color;
|
||||||
import haxework.gui.View;
|
import haxework.gui.View;
|
||||||
|
import ru.m.draw.BitmapUtil;
|
||||||
|
|
||||||
class TankView extends View<Bitmap> {
|
class TankView extends View<Bitmap> {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user