[editor] remove unused provides
This commit is contained in:
2
WORK.md
2
WORK.md
@@ -15,7 +15,5 @@
|
|||||||
* game state: config, map, entities, players
|
* game state: config, map, entities, players
|
||||||
* game menu pack progress
|
* game menu pack progress
|
||||||
* balloons: change mute, network, pause
|
* balloons: change mute, network, pause
|
||||||
* render: animations pause
|
|
||||||
* settings: mute, pause, reset device actions
|
* settings: mute, pause, reset device actions
|
||||||
* game view: pause button
|
|
||||||
* game view: toggle panel on mobile
|
* game view: toggle panel on mobile
|
||||||
|
|||||||
@@ -1,9 +1,7 @@
|
|||||||
package ru.m.tankz.editor;
|
package ru.m.tankz.editor;
|
||||||
|
|
||||||
import haxework.resources.IResources;
|
import haxework.resources.IResources;
|
||||||
import haxework.resources.Resources;
|
|
||||||
import haxework.view.frame.FrameSwitcher;
|
import haxework.view.frame.FrameSwitcher;
|
||||||
import haxework.view.popup.PopupManager;
|
|
||||||
import haxework.view.Root;
|
import haxework.view.Root;
|
||||||
import haxework.view.theme.ITheme;
|
import haxework.view.theme.ITheme;
|
||||||
import ru.m.tankz.bundle.CachedLevelBundle;
|
import ru.m.tankz.bundle.CachedLevelBundle;
|
||||||
@@ -21,7 +19,6 @@ class Editor {
|
|||||||
@:provide static var theme:ITheme;
|
@:provide static var theme:ITheme;
|
||||||
@:provide static var switcher:FrameSwitcher;
|
@:provide static var switcher:FrameSwitcher;
|
||||||
@:provide static var storage:EditorStorage;
|
@:provide static var storage:EditorStorage;
|
||||||
@:provide static var popupManager:PopupManager;
|
|
||||||
@:provide static var configBundle:IConfigBundle;
|
@:provide static var configBundle:IConfigBundle;
|
||||||
@:provide static var levelBundle:ILevelBundle;
|
@:provide static var levelBundle:ILevelBundle;
|
||||||
|
|
||||||
@@ -37,14 +34,12 @@ class Editor {
|
|||||||
L.d(TAG, 'Debug: ${Const.DEBUG}');
|
L.d(TAG, 'Debug: ${Const.DEBUG}');
|
||||||
L.i(TAG, 'Version: ${Const.VERSION}');
|
L.i(TAG, 'Version: ${Const.VERSION}');
|
||||||
L.i(TAG, 'Build: ${Const.BUILD}');
|
L.i(TAG, 'Build: ${Const.BUILD}');
|
||||||
resources = new Resources();
|
|
||||||
resources.text.put("version", '${Const.VERSION}');
|
resources.text.put("version", '${Const.VERSION}');
|
||||||
|
|
||||||
theme = new AppTheme();
|
theme = new AppTheme();
|
||||||
configBundle = new ConfigBundle();
|
configBundle = new ConfigBundle();
|
||||||
levelBundle = new CachedLevelBundle(new ClientLevelSource());
|
levelBundle = new CachedLevelBundle(new ClientLevelSource());
|
||||||
storage = new EditorStorage();
|
storage = new EditorStorage();
|
||||||
popupManager = new PopupManager();
|
|
||||||
|
|
||||||
var view = new EditorView();
|
var view = new EditorView();
|
||||||
Root.bind(view);
|
Root.bind(view);
|
||||||
|
|||||||
Reference in New Issue
Block a user