public GetUnitForeColor ( Point point ) : BufferColor | ||
point | Point | The location of the unit. |
return | BufferColor |
public BufferColor GetUnitForeColor(Point point)
{
if (InBounds(ref point))
{
return _buffer[point.Y, point.X].ForeColor;
}
return BufferColor.Black;
}
ConsoleBuffer::GetUnitForeColor ( int x, int y ) : BufferColor |