Guest User

Untitled

a guest
Jul 18th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. // This should not be in a global namespace...we should have each of these be
  2. // instance variables in the game world or something, rather than global-floating
  3. // variables. -ja
  4.  
  5. function Player()
  6. {
  7. this.image_file = Object.loadImage("assets/game/fighter_x1/main.png");
  8. this.image = new ImageNode(this.image_file);
  9. this.act = function()
  10. {
  11. }
  12. }
  13.  
  14. player = new Player();
  15. player.act();
Add Comment
Please, Sign In to add comment