ServiceLocator.ts 664 B

123456789101112131415
  1. //
  2. // Copyright (c) 2014-2015, THUNDERBEAST GAMES LLC All rights reserved
  3. // LICENSE: Atomic Game Engine Editor and Tools EULA
  4. // Please see LICENSE_ATOMIC_EDITOR_AND_TOOLS.md in repository root for
  5. // license information: https://github.com/AtomicGameEngine/AtomicGameEngine
  6. //
  7. import {ServiceLocatorType} from "./EditorExtensionServices";
  8. import TypescriptLanguageExtension from "./resourceServices/TypscriptLanguageExtension";
  9. // Singleton service locator that can be referenced
  10. const serviceLocator = new ServiceLocatorType();
  11. export default serviceLocator;
  12. // Load up all the internal services
  13. serviceLocator.loadService(new TypescriptLanguageExtension());