Esempio n. 1
0
        public void ReadGametype()
        {
            GameVariant gt;

            using (var fs = File.OpenRead("C:/Users/Matt/Desktop/h4_rumble_tu.game"))
                gt = ContentFactory.ReadGameVariant(fs);

            var data = gt.EngineData as MegaloData;
        }
Esempio n. 2
0
        public GametypeEditor()
        {
            InitializeComponent();

#if DEBUG
            ViewModel = new GameVariantViewModel(ContentFactory.ReadGameVariant(File.OpenRead("C:/users/matt/desktop/h4_rumble_tu.game")));
#else
            ViewModel = new GameVariantViewModel();
#endif
            DataContext = ViewModel;
        }