Box2D Forums

It is currently Fri Sep 19, 2014 8:55 pm

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Between multiple files
PostPosted: Wed Oct 26, 2011 3:31 am 
Offline

Joined: Wed Oct 26, 2011 3:27 am
Posts: 4
What is the best way to use a single world in multiple Javascript files? It is probably either passing a pointer to the world into a function, or defining it in a file that contains global variables and importing the file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group