Guest User

Untitled

a guest
Jan 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.41 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using Microsoft.Xna.Framework;
  5. using Microsoft.Xna.Framework.Audio;
  6. using Microsoft.Xna.Framework.Content;
  7. using Microsoft.Xna.Framework.GamerServices;
  8. using Microsoft.Xna.Framework.Graphics;
  9. using Microsoft.Xna.Framework.Input;
  10. using Microsoft.Xna.Framework.Media;
  11.  
  12.  
  13. namespace MarioXNA
  14. {
  15.     /// <summary>
  16.     /// This is a game component that implements IUpdateable.
  17.     /// </summary>
  18.     public class GameItem : Microsoft.Xna.Framework.GameComponent
  19.     {
  20.         public GameItem(Game game)
  21.             : base(game)
  22.         {
  23.             // TODO: Construct any child components here
  24.         }
  25.  
  26.         /// <summary>
  27.         /// Allows the game component to perform any initialization it needs to before starting
  28.         /// to run.  This is where it can query for any required services and load content.
  29.         /// </summary>
  30.         public override void Initialize()
  31.         {
  32.             // TODO: Add your initialization code here
  33.  
  34.             base.Initialize();
  35.         }
  36.  
  37.         /// <summary>
  38.         /// Allows the game component to update itself.
  39.         /// </summary>
  40.         /// <param name="gameTime">Provides a snapshot of timing values.</param>
  41.         public override void Update(GameTime gameTime)
  42.         {
  43.             // TODO: Add your update code here
  44.  
  45.             base.Update(gameTime);
  46.         }
  47.     }
  48. }
Add Comment
Please, Sign In to add comment