Package zombie.vehicles
Class BaseVehicle.HitVars
java.lang.Object
zombie.vehicles.BaseVehicle.HitVars
- Enclosing class:
- BaseVehicle
public static class BaseVehicle.HitVars
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description float
hitSpeed
boolean
isTargetHitFromBehind
boolean
isVehicleHitFromFront
Vector3f
targetImpulse
int
vehicleDamage
protected float
vehicleImpulse
protected float
vehicleSpeed
-
Constructor Summary
Constructors Constructor Description HitVars()
-
Method Summary
Modifier and Type Method Description void
calc(IsoGameCharacter gameCharacter, BaseVehicle baseVehicle)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
vehicleImpulse
protected float vehicleImpulse -
vehicleSpeed
protected float vehicleSpeed -
targetImpulse
-
isVehicleHitFromFront
public boolean isVehicleHitFromFront -
isTargetHitFromBehind
public boolean isTargetHitFromBehind -
vehicleDamage
public int vehicleDamage -
hitSpeed
public float hitSpeed
-
-
Constructor Details
-
HitVars
public HitVars()
-
-
Method Details
-
calc
-