Ejemplo n.º 1
0
        public void AddInteractiveTile(InteractiveTile tile)
        {
            if (_interactiveTilesByPosition.ContainsKey(tile.GridPosition))
            {
                throw new ArgumentException("Cannot place two interactive tiles at the same position.");
            }

            _interactiveTilesByPosition[tile.GridPosition] = tile;
        }
Ejemplo n.º 2
0
 public void TriggerInteractiveTile(InteractiveTile tile, Unit unit)
 {
     tile.Trigger();
     _turnState.RecordAction(unit);
 }