Class AngelCodeFont

java.lang.Object
zombie.core.fonts.AngelCodeFont
All Implemented Interfaces:
AssetStateObserver, Font

public final class AngelCodeFont extends Object implements Font, AssetStateObserver
  • Field Details

    • chars

      public AngelCodeFont.CharDef[] chars
    • xoff

      public static int xoff
    • yoff

      public static int yoff
    • curCol

      public static Color curCol
    • curR

      public static float curR
    • curG

      public static float curG
    • curB

      public static float curB
    • curA

      public static float curA
  • Constructor Details

  • Method Details

    • drawString

      public void drawString(float float1, float float2, String string)
      Specified by:
      drawString in interface Font
    • drawString

      public void drawString(float float1, float float2, String string, Color color)
      Specified by:
      drawString in interface Font
    • drawString

      public void drawString(float float1, float float2, String string, float float3, float float4, float float5, float float6)
    • drawString

      public void drawString(float float1, float float2, float float3, String string, float float4, float float5, float float6, float float7)
    • drawString

      public void drawString(float float1, float float2, String string, Color color, int int1, int int2)
      Specified by:
      drawString in interface Font
    • drawString

      public void drawString(float float1, float float2, String string, float float3, float float4, float float5, float float6, int int1, int int2)
    • drawString

      public void drawString(float float1, float float2, float float3, String string, float float4, float float5, float float6, float float7, int int1, int int2)
    • getHeight

      public int getHeight(String string)
      Specified by:
      getHeight in interface Font
    • getLineHeight

      public int getLineHeight()
      Specified by:
      getLineHeight in interface Font
    • getWidth

      public int getWidth(String string)
      Specified by:
      getWidth in interface Font
    • getWidth

      public int getWidth(String string, boolean boolean1)
      Specified by:
      getWidth in interface Font
    • getWidth

      public int getWidth(String string, int int1, int int2)
      Specified by:
      getWidth in interface Font
    • getWidth

      public int getWidth(String string, int int1, int int2, boolean boolean1)
      Specified by:
      getWidth in interface Font
    • getYOffset

      public int getYOffset(String string)
    • onStateChanged

      public void onStateChanged(Asset.State state, Asset.State state2, Asset asset)
      Specified by:
      onStateChanged in interface AssetStateObserver
    • isEmpty

      public boolean isEmpty()
    • destroy

      public void destroy()