Package zombie.ai.states
Class SwipeStatePlayer
java.lang.Object
zombie.ai.State
zombie.ai.states.SwipeStatePlayer
public final class SwipeStatePlayer extends State
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSwipeStatePlayer.CustomComparator -
Field Summary
Fields Modifier and Type Field Description ObjectPoolhitInfoPool -
Constructor Summary
Constructors Constructor Description SwipeStatePlayer() -
Method Summary
Modifier and Type Method Description voidanimEvent(IsoGameCharacter gameCharacter, AnimEvent animEvent)voidCalcAttackVars(IsoLivingCharacter livingCharacter, AttackVars attackVars)intCalcHitChance(IsoGameCharacter gameCharacter, HandWeapon handWeapon, HitInfo hitInfo)voidCalcHitList(IsoGameCharacter gameCharacter, boolean boolean1, AttackVars attackVars, java.util.ArrayList arrayList)voidcalcValidTargets(IsoLivingCharacter livingCharacter, HandWeapon handWeapon, boolean boolean1, java.util.ArrayList arrayList, java.util.ArrayList arrayList2)voidchangeWeapon(HandWeapon handWeapon, IsoGameCharacter gameCharacter)static booleancheckPVP(IsoGameCharacter gameCharacter, IsoMovingObject movingObject)voidConnectSwing(IsoGameCharacter gameCharacter, HandWeapon handWeapon)voidenter(IsoGameCharacter gameCharacter)voidexecute(IsoGameCharacter gameCharacter)voidexit(IsoGameCharacter gameCharacter)static Vector3getBoneWorldPos(IsoMovingObject movingObject, java.lang.String string, Vector3 vector3)static SwipeStatePlayerinstance()static booleanisProne(IsoMovingObject movingObject)booleanisProneTargetBetter(IsoGameCharacter gameCharacter, HitInfo hitInfo, HitInfo hitInfo2)static booleanisStanding(IsoMovingObject movingObject)static voidsplash(IsoMovingObject movingObject, HandWeapon handWeapon, IsoGameCharacter gameCharacter)static voidWeaponLowerCondition(HandWeapon handWeapon, IsoGameCharacter gameCharacter)Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isMovingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
hitInfoPool
-
-
Constructor Details
-
SwipeStatePlayer
public SwipeStatePlayer()
-
-
Method Details
-
instance
-
WeaponLowerCondition
-
enter
-
execute
-
animEvent
-
exit
-
CalcAttackVars
-
calcValidTargets
public void calcValidTargets(IsoLivingCharacter livingCharacter, HandWeapon handWeapon, boolean boolean1, java.util.ArrayList arrayList, java.util.ArrayList arrayList2) -
isProne
-
isStanding
-
isProneTargetBetter
public boolean isProneTargetBetter(IsoGameCharacter gameCharacter, HitInfo hitInfo, HitInfo hitInfo2) -
checkPVP
-
CalcHitList
public void CalcHitList(IsoGameCharacter gameCharacter, boolean boolean1, AttackVars attackVars, java.util.ArrayList arrayList) -
CalcHitChance
-
getBoneWorldPos
public static Vector3 getBoneWorldPos(IsoMovingObject movingObject, java.lang.String string, Vector3 vector3) -
ConnectSwing
-
splash
public static void splash(IsoMovingObject movingObject, HandWeapon handWeapon, IsoGameCharacter gameCharacter) -
changeWeapon
-