WindowExt.d.ts 668 B

12345678910111213141516171819
  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. /**
  8. * Defines the interface to what is available for the host to call or for the client to call on the window object
  9. */
  10. interface Window {
  11. atomicQuery: any;
  12. HOST_loadCode: (codeUrl) => void;
  13. HOST_saveCode: () => void;
  14. HOST_projectUnloaded: () => void;
  15. HOST_resourceRenamed: (path:string, newPath:string) => void;
  16. HOST_resourceDeleted: (path: string) => void;
  17. }