import { Component, EventEmitter, Input, Output } from '@angular/core';
import { LocationSummary } from '../../core/api/game-api.models';

@Component({
  selector: 'app-location-node',
  templateUrl: './location-node.component.html',
  styleUrl: './location-node.component.scss',
})
export class LocationNodeComponent {
  @Input({ required: true }) location!: LocationSummary;
  @Input() current = false;
  @Input() selected = false;
  @Input() disabled = false;
  @Output() readonly choose = new EventEmitter<void>();
}
