From 8e3e6bdb6ceaa327d899eca2c8322c8105705f4c Mon Sep 17 00:00:00 2001 From: shmyga Date: Tue, 19 Nov 2019 18:01:10 +0300 Subject: [PATCH] [editor] remove unused provides --- WORK.md | 2 -- src/editor/haxe/ru/m/tankz/editor/Editor.hx | 5 ----- 2 files changed, 7 deletions(-) diff --git a/WORK.md b/WORK.md index 38a0fa6..48200c0 100644 --- a/WORK.md +++ b/WORK.md @@ -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 diff --git a/src/editor/haxe/ru/m/tankz/editor/Editor.hx b/src/editor/haxe/ru/m/tankz/editor/Editor.hx index 9948868..961d6da 100644 --- a/src/editor/haxe/ru/m/tankz/editor/Editor.hx +++ b/src/editor/haxe/ru/m/tankz/editor/Editor.hx @@ -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);