Skip to content

[WIP] Adds Secondary ability to players#12

Open
ecp4224 wants to merge 5 commits intomasterfrom
second-ability
Open

[WIP] Adds Secondary ability to players#12
ecp4224 wants to merge 5 commits intomasterfrom
second-ability

Conversation

@ecp4224
Copy link
Owner

@ecp4224 ecp4224 commented Dec 22, 2017

This pull request is a work-in-progress

Adds secondary abilities to add characters. This is done with the new following control scheme

W A S D - Move
Left click - Primary fire
Right click - Secondary fire

This pull request, once merged will close #6

Cooldowns are now handled by the Ability API, as such setCanFire(boolean) will throw an exception
and canFire() is marked as deprecated.
If you want to know if a PlayableEntity can use their primary ability or their secondary ability,
then get their Ability and invoke canUsePrimary() and canUseSecondary()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Two abilities for each character

2 participants