public DebugWindow(ZenithSystem system) { ZSystem = system; ZSystem.BreakpointHit += BreakpointHit; DataContext = system; InitializeComponent(); RefreshHexGrid(); }
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; }
public HexRow(ZenithSystem system, int offset) { _system = system; _offset = offset; }
public HexRowEnumerable(ZenithSystem _system) { _e = new HexRowEnumerator(_system); }
public HexRowEnumerator(ZenithSystem system) { _system = system; }