Jump to content

Understanding Phaser Struts


blackhawx
 Share

Recommended Posts

What is the core relationship and purpose of Phaser Structs? Under this Namespace I see Lists, Map, ProcessQueue, RTree, Set.  But are these 5 classes  'piratical' areas to explore and use in game development, or do they associate more to 'whats happening behind the scenes'?

Thanks for any clarity in this area

 

 

Link to comment
Share on other sites

They're just common data structures that Phaser uses a lot internally. They're exposed publically in case you need them for anything. Maps, Sets, and Lists are generally useful data structures to have around.

Also, if you're coding in ES6 you can use the browsers native Map and Set structures instead of the Phaser versions.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...