Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Adds Secondary ability to players #12

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

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