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; }
public void TriggerInteractiveTile(InteractiveTile tile, Unit unit) { tile.Trigger(); _turnState.RecordAction(unit); }