Class WaterFlowObject
java.lang.Object
zombie.iso.WaterFlowObject
- All Implemented Interfaces:
Comparable<WaterFlowObject>
-
Field Summary
FieldsModifier and TypeFieldDescriptiondoublefloatfloatintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(WaterFlowObject other) floatdistSq(WaterFlowObject other) booleanisLeaf()
-
Field Details
-
x
public int x -
y
public int y -
radians
public float radians -
speed
public float speed -
kdLeft
-
kdRight
-
distSq
public double distSq
-
-
Constructor Details
-
WaterFlowObject
public WaterFlowObject() -
WaterFlowObject
public WaterFlowObject(int x, int y, float radians, float speed)
-
-
Method Details
-
distSq
-
isLeaf
public boolean isLeaf() -
compareTo
- Specified by:
compareToin interfaceComparable<WaterFlowObject>
-