Some of these systems are:
EntityFactory & EntityBank: Used to create, destroy and manage entities (anything in the game is an entity).
TextureFactory & TextureBank: Used to load and manage textures used in the game.
Take those two for example. Two systems needed mostly throughout the game by each system at some point, whether for initializing or destroying entities, getting a texture reference from the TextureBank, etc.
So, I know using the static keyword is frowned upon pretty much most of the time. But should I be initializing these Systems in the highest Game class, and use their functions statically throughout the program instead of passing references of them everywhere? Essentially making it a global variable. Or should I just design a better way to get access to systems that might be needed in a lot of other systems. Thanks guys!
This post has been edited by Mr_Fraggs: 10 August 2013 - 06:55 PM