TF-ProjectKorra/src/com/projectkorra/projectkorra/util/ClickType.java
Simplicitee b2fcfc493a Remove Attribute system (#725)
* AirJump, Attribute continuation

* Remove AirJump

* Revert "Remove AirJump"

This reverts commit e6cf056bb746d70643931f523f163aea1738b482.

* Revert "AirJump, Attribute continuation"

This reverts commit b8198d7eaff34b089fb0ec1003e4b766503cb0ae.

* Remove Attribute to redesign
2017-02-10 19:53:47 -08:00

41 lines
792 B
Java

package com.projectkorra.projectkorra.util;
/**
* An enum representation of the ways in which an ability can be activated.
*/
public enum ClickType {
/**
* Use this to call your own click type.
*/
CUSTOM,
/**
* Player has swung their arm.
*/
LEFT_CLICK,
/**
* For any instance of right clicking that isn't with an entity or a block
* (Right clicking air will not work).
*/
LEFT_CLICK_ENTITY,
/**
* Player has left clicked and hit an entity.
*/
RIGHT_CLICK,
/**
* Specifically for right clicking an entity.
*/
RIGHT_CLICK_ENTITY,
/**
* Specifically for right clicking a block.
*/
RIGHT_CLICK_BLOCK,
/**
* The shift key being pressed.
*/
SHIFT_DOWN,
/**
* The shift key being released.
*/
SHIFT_UP;
}