Esempio n. 1
0
        protected override void InitalizeScreens()
        {
            RPGGameProperties properties = new RPGGameProperties();
            properties.PlayerTexturePath = @"C:\Users\General\Desktop\char.png";

            var gameScreen = new GameScreen(this.Content, properties);
            this.ScreenManager.AddScreen(gameScreen, "GameScreen");
            this.ScreenManager.SetActiveScreen("GameScreen");
        }
Esempio n. 2
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        private static void Main(string[] args)
        {
            RPGGameProperties properties = new RPGGameProperties();

            properties.PlayerTexturePath = @"C:\Users\General\Desktop\char.png";

            using (var game = new Game(properties))
            {
                game.Run();
            }
        }
 public GameScreen(ContentManager content, RPGGameProperties properties)
     : base(content)
 {
     // this.GUIHandler.Load(@"C:\Users\General\Documents\GitHub\dominus-engine\Test Projects\Main test project\Main Test Project\Main Test Project\Main Test ProjectContent\b.xml", content);
 }
Esempio n. 4
0
 public Game(RPGGameProperties rpgGameProperties)
     : base(rpgGameProperties)
 {
 }
 public DominusRPGGame(RPGGameProperties properties)
 {
     DominusRPGGame.Properties = properties;
 }