blackhawx Posted October 2, 2018 Share Posted October 2, 2018 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 More sharing options...
rich Posted October 2, 2018 Share Posted October 2, 2018 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. blackhawx 1 Link to comment Share on other sites More sharing options...
Recommended Posts