Package engine.entity.abilities
Class Sword8d
java.lang.Object
engine.entity.Ability
engine.entity.abilities.Sword8d
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
lIsIdle
private boolean lIsIdle -
activate
private boolean activate -
isActive
private boolean isActive -
sent
private boolean sent -
currTrig
-
-
Constructor Details
-
Sword8d
public Sword8d() -
Sword8d
public Sword8d(int key) -
Sword8d
public Sword8d(int[] keys)
-
-
Method Details
-
getTrigger
Description copied from class:AbilityOnly override this if you want to create an interaction- Overrides:
getTriggerin classAbility- Returns:
- Returns the trigger being requested
-
sentTrigger
public boolean sentTrigger()Description copied from class:AbilityOnly override this if you want to create an interaction- Overrides:
sentTriggerin classAbility- Returns:
- Returns if the trigger has been made
-
update
- Specified by:
updatein classAbility- Throws:
IllegalArgumentException
-
setSwing
-
isActive
public boolean isActive() -
setActive
public void setActive(boolean activate) -
get
-
getType
-