internal InventoryGuiCell(
     Vector2 center,
     int rowCoord,
     int colCoord)
 {
     Center           = center;
     IndexInInventory = new InventoryIndex(rowCoord, colCoord);
 }
Example #2
0
 //-------------------------------------------------------------------------------------[]
 private bool CellIndexExists(InventoryIndex cellIndex)
 {
     return(cellIndex.RowCoord >= 0 && cellIndex.RowCoord < _width && cellIndex.ColCoord >= 0 &&
            cellIndex.ColCoord < _height);
 }