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