|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectzombie.core.Styles.AbstractStyle
zombie.core.Styles.TransparentStyle
public class TransparentStyle
Renders sprites with proper alpha transparency.
| Field Summary | |
|---|---|
static TransparentStyle |
instance
|
| Constructor Summary | |
|---|---|
TransparentStyle()
|
|
| Method Summary | |
|---|---|
AlphaOp |
getAlphaOp()
|
boolean |
getRenderSprite()
Whether to actually render a sprite when using this Style. |
int |
getStyleID()
|
void |
resetState()
Called to reset GL rendering state after actual drawing is done. |
void |
setupState()
Called to set up GL rendering state before actual drawing is done. |
| Methods inherited from class zombie.core.Styles.AbstractStyle |
|---|
build, render |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static TransparentStyle instance
| Constructor Detail |
|---|
public TransparentStyle()
| Method Detail |
|---|
public void setupState()
Style
setupState in interface StylesetupState in class AbstractStylepublic void resetState()
Style
resetState in interface StyleresetState in class AbstractStylepublic AlphaOp getAlphaOp()
getAlphaOp in interface StylegetAlphaOp in class AbstractStylepublic int getStyleID()
getStyleID in interface StylegetStyleID in class AbstractStylepublic boolean getRenderSprite()
Style
getRenderSprite in interface StylegetRenderSprite in class AbstractStyle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||