Class PromotionEvent

java.lang.Object
javachess.events.Event
javachess.events.PromotionEvent

public class PromotionEvent extends Event
Event that indicates a promotion of a pawn to a different piece. This event is triggered when a pawn reaches the opposite side of the board.
  • Constructor Details

    • PromotionEvent

      public PromotionEvent(Position from)
  • Method Details