[editor] remove unused provides

This commit is contained in:
2019-11-19 18:01:10 +03:00
parent d9d385b0ef
commit 8e3e6bdb6c
2 changed files with 0 additions and 7 deletions

View File

@@ -15,7 +15,5 @@
* game state: config, map, entities, players
* game menu pack progress
* balloons: change mute, network, pause
* render: animations pause
* settings: mute, pause, reset device actions
* game view: pause button
* game view: toggle panel on mobile

View File

@@ -1,9 +1,7 @@
package ru.m.tankz.editor;
import haxework.resources.IResources;
import haxework.resources.Resources;
import haxework.view.frame.FrameSwitcher;
import haxework.view.popup.PopupManager;
import haxework.view.Root;
import haxework.view.theme.ITheme;
import ru.m.tankz.bundle.CachedLevelBundle;
@@ -21,7 +19,6 @@ class Editor {
@:provide static var theme:ITheme;
@:provide static var switcher:FrameSwitcher;
@:provide static var storage:EditorStorage;
@:provide static var popupManager:PopupManager;
@:provide static var configBundle:IConfigBundle;
@:provide static var levelBundle:ILevelBundle;
@@ -37,14 +34,12 @@ class Editor {
L.d(TAG, 'Debug: ${Const.DEBUG}');
L.i(TAG, 'Version: ${Const.VERSION}');
L.i(TAG, 'Build: ${Const.BUILD}');
resources = new Resources();
resources.text.put("version", '${Const.VERSION}');
theme = new AppTheme();
configBundle = new ConfigBundle();
levelBundle = new CachedLevelBundle(new ClientLevelSource());
storage = new EditorStorage();
popupManager = new PopupManager();
var view = new EditorView();
Root.bind(view);