Package zombie.worldMap.symbols
Class WorldMapBaseSymbol
java.lang.Object
zombie.worldMap.symbols.WorldMapBaseSymbol
- Direct Known Subclasses:
WorldMapTextSymbol
,WorldMapTextureSymbol
public abstract class WorldMapBaseSymbol
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static float
DEFAULT_SCALE
-
Constructor Summary
Constructors Constructor Description WorldMapBaseSymbol(WorldMapSymbols worldMapSymbols)
-
Method Summary
Modifier and Type Method Description float
getDisplayScale(UIWorldMap uIWorldMap)
abstract WorldMapSymbols.WorldMapSymbolType
getType()
float
heightScaled(UIWorldMap uIWorldMap)
boolean
isVisible()
void
layout(UIWorldMap uIWorldMap, WorldMapSymbolCollisions worldMapSymbolCollisions, float float1, float float2)
void
load(java.nio.ByteBuffer byteBuffer, int int1, int int2)
abstract void
release()
abstract void
render(UIWorldMap uIWorldMap, float float1, float float2)
void
save(java.nio.ByteBuffer byteBuffer)
void
setAnchor(float float1, float float2)
void
setCollide(boolean boolean1)
void
setPosition(float float1, float float2)
void
setRGBA(float float1, float float2, float float3, float float4)
void
setScale(float float1)
void
setVisible(boolean boolean1)
float
widthScaled(UIWorldMap uIWorldMap)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_SCALE
public static float DEFAULT_SCALE
-
-
Constructor Details
-
WorldMapBaseSymbol
-
-
Method Details
-
getType
-
setAnchor
public void setAnchor(float float1, float float2) -
setPosition
public void setPosition(float float1, float float2) -
setCollide
public void setCollide(boolean boolean1) -
setRGBA
public void setRGBA(float float1, float float2, float float3, float float4) -
setScale
public void setScale(float float1) -
getDisplayScale
-
layout
public void layout(UIWorldMap uIWorldMap, WorldMapSymbolCollisions worldMapSymbolCollisions, float float1, float float2) -
widthScaled
-
heightScaled
-
setVisible
public void setVisible(boolean boolean1) -
isVisible
public boolean isVisible() -
save
public void save(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.nio.ByteBuffer byteBuffer, int int1, int int2) throws java.io.IOException- Throws:
java.io.IOException
-
render
-
release
public abstract void release()
-