Guest User

Untitled

a guest
Apr 28th, 2020
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1.  
  2. //export declare namespace infinity
  3. //{
  4.  
  5. //@external("bootstrap")
  6. export declare function zone_create_native(): uint64;
  7.  
  8. //@external("bootstrap")
  9. export function zone_some_method(native: u64): void;
  10.  
  11. //}
  12.  
  13.  
  14.  
  15. class Zone {
  16. m_native: u64;
  17.  
  18. constructor() {
  19. this.m_native = zone_create_native();
  20. }
  21.  
  22. Some_Method(point: Point): void
  23. {
  24. zone_some_method(this.m_native);
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment