SpaceWaffles5827 / alchemy

client server game made in cpp
MIT License
0 stars 0 forks source link

Use singleton for certain classes such as handle input #30

Closed SpaceWaffles5827 closed 2 months ago

SpaceWaffles5827 commented 2 months ago

Make the renderer, world, textRenderer, playerInventory, networkManager and graphicsContext a singleton.

SpaceWaffles5827 commented 2 months ago

also make the game a singleton