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 class
SwipeStatePlayer.CustomComparator
-
Field Summary
Fields Modifier and Type Field Description ObjectPool
hitInfoPool
-
Constructor Summary
Constructors Constructor Description SwipeStatePlayer()
-
Method Summary
Modifier and Type Method Description void
animEvent(IsoGameCharacter gameCharacter, AnimEvent animEvent)
void
CalcAttackVars(IsoLivingCharacter livingCharacter, AttackVars attackVars)
int
CalcHitChance(IsoGameCharacter gameCharacter, HandWeapon handWeapon, HitInfo hitInfo)
void
CalcHitList(IsoGameCharacter gameCharacter, boolean boolean1, AttackVars attackVars, java.util.ArrayList arrayList)
void
calcValidTargets(IsoLivingCharacter livingCharacter, HandWeapon handWeapon, boolean boolean1, java.util.ArrayList arrayList, java.util.ArrayList arrayList2)
void
changeWeapon(HandWeapon handWeapon, IsoGameCharacter gameCharacter)
static boolean
checkPVP(IsoGameCharacter gameCharacter, IsoMovingObject movingObject)
void
ConnectSwing(IsoGameCharacter gameCharacter, HandWeapon handWeapon)
void
enter(IsoGameCharacter gameCharacter)
void
execute(IsoGameCharacter gameCharacter)
void
exit(IsoGameCharacter gameCharacter)
static Vector3
getBoneWorldPos(IsoMovingObject movingObject, java.lang.String string, Vector3 vector3)
static SwipeStatePlayer
instance()
static boolean
isProne(IsoMovingObject movingObject)
boolean
isProneTargetBetter(IsoGameCharacter gameCharacter, HitInfo hitInfo, HitInfo hitInfo2)
static boolean
isStanding(IsoMovingObject movingObject)
static void
splash(IsoMovingObject movingObject, HandWeapon handWeapon, IsoGameCharacter gameCharacter)
static void
WeaponLowerCondition(HandWeapon handWeapon, IsoGameCharacter gameCharacter)
Methods inherited from class zombie.ai.State
getDeltaModifiers, getName, isAttacking, isDoingActionThatCanBeCancelled, isIgnoreCollide, isMoving
Methods 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
-