Class AbstractStyle

java.lang.Object
zombie.core.Styles.AbstractStyle
All Implemented Interfaces:
Style
Direct Known Subclasses:
AdditiveStyle, LightingStyle, TransparentStyle

public abstract class AbstractStyle
extends java.lang.Object
implements Style
  • Constructor Summary

    Constructors
    Constructor Description
    AbstractStyle()  
  • Method Summary

    Modifier and Type Method Description
    GeometryData build()  
    AlphaOp getAlphaOp()  
    boolean getRenderSprite()  
    int getStyleID()  
    void render​(int int1, int int2)  
    void resetState()  
    void setupState()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AbstractStyle

      public AbstractStyle()
  • Method Details

    • getRenderSprite

      public boolean getRenderSprite()
      Specified by:
      getRenderSprite in interface Style
    • getAlphaOp

      public AlphaOp getAlphaOp()
      Specified by:
      getAlphaOp in interface Style
    • getStyleID

      public int getStyleID()
      Specified by:
      getStyleID in interface Style
    • resetState

      public void resetState()
      Specified by:
      resetState in interface Style
    • setupState

      public void setupState()
      Specified by:
      setupState in interface Style
    • build

      public GeometryData build()
      Specified by:
      build in interface Style
    • render

      public void render​(int int1, int int2)
      Specified by:
      render in interface Style