chess.view.dialog.Promote Class
Promotion dialog which will be displayed when controller fires the verifyPromotion event. Which piece to promote to is chosen by clicking on images illustrating queen, rook, knight and bishop.
Item Index
Events
Events
promote
Event fired after promoted piece type has been selected. the promoteTo property of the move is updated
Event Payload:
-
updatedMove
chess.model.Move