Class WorldMarkers
java.lang.Object
zombie.iso.WorldMarkers
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclass
static final class
static 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) void
getDirectionArrow
(int id) getGridSquareMarker
(int id) getHomingPoint
(int id) void
init()
static boolean
intersectLineSegments
(zombie.iso.WorldMarkers.Line line0, zombie.iso.WorldMarkers.Line line1, zombie.iso.WorldMarkers.Point point) void
removeAllDirectionArrows
(IsoPlayer player) void
removeAllHomingPoints
(IsoPlayer player) boolean
removeDirectionArrow
(int id) boolean
boolean
removeGridSquareMarker
(int id) boolean
boolean
removeHomingPoint
(int id) boolean
boolean
removePlayerDirectionArrow
(IsoPlayer player, int id) boolean
removePlayerDirectionArrow
(IsoPlayer player, WorldMarkers.DirectionArrow arrow) boolean
removePlayerHomingPoint
(IsoPlayer player, int id) boolean
removePlayerHomingPoint
(IsoPlayer player, WorldMarkers.PlayerHomingPoint point) void
render()
void
renderDirectionArrow
(boolean worldDraw) void
void
renderGridSquareMarkers
(IsoCell.PerPlayerRender perPlayerRender, int zLayer, int playerIndex) void
void
reset()
void
update()
-
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 line0, zombie.iso.WorldMarkers.Line line1, zombie.iso.WorldMarkers.Point point)
-