Skip to content

Create delegates to go with attack types  #37

@EvanKnowles

Description

@EvanKnowles

Mostly to get rid of the boring

    if (item.getDamageType() == EDamageType.SPLASH_ATTACK) {
        useSplashAttackItem(update, fighterDAO, fighter, item);
        return pendingResponse.complete();
    }
    if (item.getDamageType() == EDamageType.ATTACK_ALL) {
        useAttackAllItem(update, fighterDAO, fighter, item);
        return pendingResponse.complete();
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions