import { Component, EventEmitter, Input, Output } from '@angular/core';

@Component({
  selector: 'app-board-actions-bar',
  standalone: true,
  imports: [],
  templateUrl: './board-actions-bar.component.html',
  styleUrl: './board-actions-bar.component.css'
})
export class BoardActionsBarComponent {
  @Input() undoAvailable = false;
  @Input() isGameFinished = false;
  @Output() takeback = new EventEmitter<void>();
  @Output() offerDraw = new EventEmitter<void>();
  @Output() resign = new EventEmitter<void>();
}
