public void WriteLine(string str) { foreach (char c in str) { _BuffWorking[PosY, PosX] = new SConChar(c, ForeCol, BackCol); IncCursor(); } CReturn(); }
public override bool Equals(object obj) { if (!(obj is SConChar)) { return(false); } SConChar other = (SConChar)obj; return(this.Code.Equals(other.Code) && this.ForeCol.Equals(other.ForeCol) && this.BackCol.Equals(other.BackCol)); }
public void WriteChar(int x, int y, char c) { if (x < 0 || x > 79) { return; } if (y < 0 || y > 23) { return; } if (c < 0 || c > 127) { return; } _BuffWorking[y, x] = new SConChar(c, ForeCol, BackCol); }
public void WriteChar(int x, int y, char c) { if (x < 0 || x > 79) return; if (y < 0 || y > 23) return; if (c < 0 || c > 127) return; _BuffWorking[y, x] = new SConChar(c, ForeCol, BackCol); }