Esempio n. 1
0
        public void CellAction(CharacterBase character)
        {
            if (!_cells.ContainsKey(character.CurrentCoordinate))
            {
                return;
            }

            CellBase cell = _cells[character.CurrentCoordinate];

            cell.ContainedCharacter = character;
        }
Esempio n. 2
0
 public void Exclude(CellBase cell)
 {
     _cells.Remove(cell.Coordinate);
 }
Esempio n. 3
0
 public void AddCell(CellBase cell)
 {
     _cells[cell.Coordinate] = cell;
 }