예제 #1
0
 public DebugWindow(ZenithSystem system)
 {
     ZSystem = system;
     ZSystem.BreakpointHit += BreakpointHit;
     DataContext            = system;
     InitializeComponent();
     RefreshHexGrid();
 }
예제 #2
0
        public App()
        {
            _system = new ZenithSystem();
            _window = new MainWindow();
            _debug  = new DebugWindow(_system);

            _window.KeyEvent         += KeyEvent;
            _system.DebugLineEmitted += _debug.DebugLine;

            _debug.Reset        += Reset;
            _debug.Resume       += Resume;
            _debug.Break        += Break;
            _debug.Step         += Step;
            _debug.StepOver     += StepOver;
            _debug.DebugChecked += DebugChecked;
        }
예제 #3
0
 public HexRow(ZenithSystem system, int offset)
 {
     _system = system;
     _offset = offset;
 }
예제 #4
0
 public HexRowEnumerable(ZenithSystem _system)
 {
     _e = new HexRowEnumerator(_system);
 }
예제 #5
0
 public HexRowEnumerator(ZenithSystem system)
 {
     _system = system;
 }