public void Clear() { switch (WindowType) { case GHWinType.Map: ClientGamePage.ClearMap(); break; } lock (PutStrsLock) { PutStrs.Clear(); } lock (_clientGame.WindowsLock) { _height = 0; _width = 0; _pixelWidth = 0; _pixelHeight = 0; CursX = 0; CursY = 0; } if (_winType == GHWinType.Menu || _winType == GHWinType.Text) { ConcurrentQueue <GHRequest> queue; if (ClientGame.RequestDictionary.TryGetValue(_clientGame, out queue)) { queue.Enqueue(new GHRequest(_clientGame, GHRequestType.ClearWindowView, _winId)); } } }
public void Curs(int x, int y) { CursX = x; CursY = y; if (WindowType == GHWinType.Map) { ClientGamePage.SetMapCursor(x, y); } }
public void PrintGlyph(int x, int y, int glyph, int bkglyph, int symbol, int color, uint special, LayerInfo layers) { ClientGamePage.SetMapSymbol(x, y, glyph, bkglyph, symbol, color, special, layers); }