Class WorldMarkers
java.lang.Object
zombie.iso.WorldMarkers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassstatic final classstatic class -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionaddDirectionArrow(IsoPlayer player, int x, int y, int z, String texname, float r, float g, float b, float a) addGridSquareMarker(String texid, String overlay, IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size) addGridSquareMarker(String texid, String overlay, IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size, float fadeSpeed, float fadeMin, float fadeMax) addGridSquareMarker(IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size) addPlayerHomingPoint(IsoPlayer player, int x, int y) addPlayerHomingPoint(IsoPlayer player, int x, int y, float r, float g, float b, float a) addPlayerHomingPoint(IsoPlayer player, int x, int y, String texname, float r, float g, float b, float a, boolean homeOnTarget, int homeOnDist) voidgetDirectionArrow(int id) getGridSquareMarker(int id) getHomingPoint(int id) voidinit()static booleanintersectLineSegments(zombie.iso.WorldMarkers.Line l1, zombie.iso.WorldMarkers.Line l2, zombie.iso.WorldMarkers.Point intersection) voidremoveAllDirectionArrows(IsoPlayer player) voidremoveAllHomingPoints(IsoPlayer player) booleanremoveDirectionArrow(int id) booleanbooleanremoveGridSquareMarker(int id) booleanbooleanremoveHomingPoint(int id) booleanbooleanremovePlayerDirectionArrow(IsoPlayer player, int id) booleanremovePlayerDirectionArrow(IsoPlayer player, WorldMarkers.DirectionArrow arrow) booleanremovePlayerHomingPoint(IsoPlayer player, int id) booleanremovePlayerHomingPoint(IsoPlayer player, WorldMarkers.PlayerHomingPoint point) voidrender()voidrenderDirectionArrow(boolean worldDraw) voidvoidrenderGridSquareMarkers(IsoCell.PerPlayerRender perPlayerRender, int zLayer, int playerIndex) voidvoidreset()voidupdate()
-
Field Details
-
instance
-
-
Method Details
-
init
public void init() -
reset
public void reset() -
getHomingPoint
-
addPlayerHomingPoint
-
addPlayerHomingPoint
public WorldMarkers.PlayerHomingPoint addPlayerHomingPoint(IsoPlayer player, int x, int y, float r, float g, float b, float a) -
addPlayerHomingPoint
public WorldMarkers.PlayerHomingPoint addPlayerHomingPoint(IsoPlayer player, int x, int y, String texname, float r, float g, float b, float a, boolean homeOnTarget, int homeOnDist) -
removeHomingPoint
-
removeHomingPoint
public boolean removeHomingPoint(int id) -
removePlayerHomingPoint
-
removePlayerHomingPoint
-
removeAllHomingPoints
-
getDirectionArrow
-
addDirectionArrow
public WorldMarkers.DirectionArrow addDirectionArrow(IsoPlayer player, int x, int y, int z, String texname, float r, float g, float b, float a) -
removeDirectionArrow
-
removeDirectionArrow
public boolean removeDirectionArrow(int id) -
removePlayerDirectionArrow
-
removePlayerDirectionArrow
-
removeAllDirectionArrows
-
update
public void update() -
removeGridSquareMarker
-
removeGridSquareMarker
public boolean removeGridSquareMarker(int id) -
getGridSquareMarker
-
addGridSquareMarker
public WorldMarkers.GridSquareMarker addGridSquareMarker(IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size) -
addGridSquareMarker
public WorldMarkers.GridSquareMarker addGridSquareMarker(String texid, String overlay, IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size) -
addGridSquareMarker
public WorldMarkers.GridSquareMarker addGridSquareMarker(String texid, String overlay, IsoGridSquare gs, float r, float g, float b, boolean doAlpha, float size, float fadeSpeed, float fadeMin, float fadeMax) -
renderGridSquareMarkers
public void renderGridSquareMarkers(IsoCell.PerPlayerRender perPlayerRender, int zLayer, int playerIndex) -
renderGridSquareMarkers
public void renderGridSquareMarkers() -
debugRender
public void debugRender() -
render
public void render() -
renderHomingPoint
public void renderHomingPoint() -
renderDirectionArrow
public void renderDirectionArrow(boolean worldDraw) -
intersectLineSegments
public static boolean intersectLineSegments(zombie.iso.WorldMarkers.Line l1, zombie.iso.WorldMarkers.Line l2, zombie.iso.WorldMarkers.Point intersection)
-