I want to install a game on my site. The interaction takes a lot of jobs, mainly about moving the game's options to my site's admin option control pannel. To avoid the interaction job, I'm thinking to make a Class to store the options, and call the calss by Global.
Class Game_Vars{
var ...;
... ...;
}
Global $game_options;
if ( !isset( $game_options ) ) $game_options = new Game_vars();
By this way, the options won't be stored in database, and the Class.php will be loaded everytime when the game script is running. There are nearly 70 options, is this too heavy for performence?