Пример #1
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            spriteBatch = new SpriteBatch(GraphicsDevice);

            RTContentManager.Load(Content);

            gameObjects.Add(new Player());
        }
Пример #2
0
 public override Texture2D GetSprite()
 {
     return(RTContentManager.GetTexture("PlayerIdle0"));
 }