Class EditStreetV1
java.lang.Object
zombie.util.PooledObject
zombie.worldMap.streets.EditStreetV1
- All Implemented Interfaces:
IPooledObject
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPoint(float x, float y) org.joml.Vector2fgetAddPointLocation(float uiX, float uiY, org.joml.Vector2f closest) intfloatgetPointX(int index) floatgetPointY(int index) intgetWidth()voidinsertPoint(float x, float y) intpickPoint(float uiX, float uiY) voidremovePoint(int index) voidvoidsetPoint(int index, float x, float y) voidsetTranslatedText(String text) voidsetWidth(int width) Methods inherited from class PooledObject
getPoolReference, isFree, release, setFree, setPoolMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface IPooledObject
onReleased
-
Constructor Details
-
EditStreetV1
public EditStreetV1()
-
-
Method Details
-
getNumPoints
public int getNumPoints() -
getPointX
public float getPointX(int index) -
getPointY
public float getPointY(int index) -
addPoint
public void addPoint(float x, float y) -
insertPoint
public void insertPoint(float x, float y) -
removePoint
public void removePoint(int index) -
setPoint
public void setPoint(int index, float x, float y) -
getTranslatedText
-
setTranslatedText
-
getWidth
public int getWidth() -
setWidth
public void setWidth(int width) -
reverseDirection
public void reverseDirection() -
pickPoint
public int pickPoint(float uiX, float uiY) -
getAddPointLocation
public org.joml.Vector2f getAddPointLocation(float uiX, float uiY, org.joml.Vector2f closest)
-