private static void CancelHandler( Player player, Command cmd )
{
if ( cmd.HasNext ) {
CdCancel.PrintUsage( player );
return;
}
if ( player.IsMakingSelection ) {
player.SelectionCancel();
player.MessageNow( "Selection cancelled." );
} else {
player.MessageNow( "There is currently nothing to cancel." );
}
}