Ejemplo n.º 1
0
 /// <summary>
 /// LoadContent will be called only once before drawing and it's the place to load
 /// all of your content.
 /// </summary>
 public virtual void LoadContent()
 {
     if (showAvatar)
     {
         userAvatar = new UserAvatar(ScreenManager.Kinect, ScreenManager.Game.Content, ScreenManager.GraphicsDevice, ScreenManager.SpriteBatch);
         userAvatar.LoadContent();
     }
 }
 /// <summary>
 /// LoadContent will be called only once before drawing and it's the place to load
 /// all of your content.
 /// </summary>
 public virtual void LoadContent()
 {
     if (showAvatar)
     {
         userAvatar = new UserAvatar(ScreenManager.Kinect, ScreenManager.Game.Content, ScreenManager.GraphicsDevice, ScreenManager.SpriteBatch);
         userAvatar.LoadContent();
     }
 }