Guest User

Untitled

a guest
Oct 16th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. FB.hx
  2. =====
  3.  
  4. @:native("FB")
  5. extern class FBExtern {
  6.  
  7. public static function init(params:Dynamic):Void;
  8.  
  9. }
  10.  
  11. class FB extends FBExtern {
  12.  
  13. public static function startup() {
  14. trace("doing the startup");
  15. }
  16.  
  17. }
  18.  
  19. Main.hx
  20. =======
  21. FB.startup(); // this works
  22. FB.init(); // this give #FB has no field init
Add Comment
Please, Sign In to add comment