예제 #1
0
 protected override void Update(GameTime gameTime)
 {
     gameState = AsteroidGame.updateState(
         Keyboard.GetState(), Mouse.GetState(),
         (float)gameTime.ElapsedGameTime.TotalSeconds,
         gameState);
     base.Update(gameTime);
 }
예제 #2
0
 protected override void Update(GameTime gameTime)
 {
   gameState = AsteroidGame.updateState(
     Keyboard.GetState(), Mouse.GetState(), 
     (float)gameTime.ElapsedGameTime.TotalSeconds, 
     gameState);
   base.Update(gameTime);
 }
예제 #3
0
 protected override void LoadContent()
 {
     spriteBatch = new SpriteBatch(GraphicsDevice);
     gameState   = AsteroidGame.initialState();
     base.LoadContent();
 }
예제 #4
0
 protected override void LoadContent()
 {
   spriteBatch = new SpriteBatch(GraphicsDevice);
   gameState = AsteroidGame.initialState();
   base.LoadContent();
 }