Class AbstractStyle
java.lang.Object
zombie.core.Styles.AbstractStyle
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
AdditiveStyle
,LightingStyle
,TransparentStyle
,UIFBOStyle
Convenient base class implementation of
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Description copied from interface: Styleboolean
Description copied from interface: Styleint
void
render
(int vertexOffset, int indexOffset) Description copied from interface: Stylevoid
Description copied from interface: Stylevoid
Description copied from interface: Style
-
Constructor Details
-
AbstractStyle
public AbstractStyle()
-
-
Method Details
-
getRenderSprite
public boolean getRenderSprite()Description copied from interface: Style- Specified by:
getRenderSprite
in interfaceStyle
- Returns:
- boolean
-
getAlphaOp
- Specified by:
getAlphaOp
in interfaceStyle
- Returns:
- the style's alpha operation
-
getStyleID
public int getStyleID()- Specified by:
getStyleID
in interfaceStyle
- Returns:
- the style's ID, which affects its rendering order
-
resetState
public void resetState()Description copied from interface: Style- Specified by:
resetState
in interfaceStyle
-
setupState
public void setupState()Description copied from interface: Style- Specified by:
setupState
in interfaceStyle
-
build
Description copied from interface: Style -
render
-