Esempio n. 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());
        }
Esempio n. 2
0
 public override Texture2D GetSprite()
 {
     return(RTContentManager.GetTexture("PlayerIdle0"));
 }