public void AddLayer(OpenTKTile _tile, FColor _color, EDirections _direction, bool _isCorpse) { m_layers.Add(new LayerInfo() { Tile = _tile, Color = _color, Direction = _direction, IsCorpse = _isCorpse }); }
public ATile CreateTile(int _col, int _row, FColor _color) { var openTKTile = new OpenTKTile(_col, _row, _color); Tiles.Add(openTKTile); return(openTKTile); }
public void DrawTile(OpenTKTile _tile, int _x, int _y, FColor _color, EDirections _direction, bool _isCorpse) { if (_x < 0 || _y < 0 || _x >= m_tilesInRow || _y >= m_tilesInColumn) { return; } var info = m_tiles[_x, _y]; info.IsFogged = false; info.AddLayer(_tile, _color, _direction, _isCorpse); }
public void DrawTile(OpenTKTile _tile, int _x, int _y, FColor _color, EDirections _direction, bool _isCorpse) { if(_x<0 || _y<0 || _x>=m_tilesInRow || _y>=m_tilesInColumn) return; var info = m_tiles[_x, _y]; info.IsFogged = false; info.AddLayer(_tile, _color, _direction, _isCorpse); }
public ATile CreateTile(int _col, int _row, FColor _color) { var openTKTile = new OpenTKTile(_col, _row, _color); Tiles.Add(openTKTile); return openTKTile; }
public void AddLayer(OpenTKTile _tile, FColor _color, EDirections _direction, bool _isCorpse) { m_layers.Add(new LayerInfo(){Tile = _tile, Color = _color, Direction = _direction, IsCorpse = _isCorpse}); }