Пример #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");
        }
Пример #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();
            }
        }
Пример #3
0
 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);
 }
Пример #4
0
 public Game(RPGGameProperties rpgGameProperties)
     : base(rpgGameProperties)
 {
 }
 public DominusRPGGame(RPGGameProperties properties)
 {
     DominusRPGGame.Properties = properties;
 }