Exemplo n.º 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");
 }
Exemplo n.º 2
0
 public static void Init(Game1 game, GS InitialState)
 {
     _game = game;
     State = InitialState;
 }