anedumgottil / VR-Mazmorra

Procedurally generated VR Dungeon
Apache License 2.0
1 stars 0 forks source link

minor issue: convert MapLoader to singleton #19

Open apodgo2 opened 7 years ago

apodgo2 commented 7 years ago

There should DEFINITELY never under any circumstances be another MapLoader

we do not need duplicates of our freakin' object pools floating around in memory

this game is going to be so resource intensive AS IT IS. jeez fam

apodgo2 commented 7 years ago

I really don't wanna do this so I'm gonna put off the work on my poor teammates but luckily it's easy just follow the lead of my MapGenerator e.g. private static MapGenerator instance = null;