Exemple #1
0
 public static void Init(Game1 game)
 {
     GraphicsDevice = game.GraphicsDevice;
     Content = game.Content;
     ColorShader = Content.Load<Effect>("ColorShader");
     NormalShader = Content.Load<Effect>("NormalShader");
     SolidShader = Content.Load<Effect>("SolidShader");
 }
 public static void Init(Game1 game, GS InitialState)
 {
     _game = game;
     State = InitialState;
 }