added so it can be used as empty

This commit is contained in:
Ziver Koc 2007-04-04 16:26:26 +00:00
parent 98c96ed24d
commit 69adb14553

View file

@ -88,6 +88,7 @@ public class Sprite extends Entity {
* Draw the sprite
*/
public void render() {
if(texture != null){
// store the current model matrix
GL11.glPushMatrix();
@ -123,6 +124,7 @@ public class Sprite extends Entity {
// restore the model view matrix to prevent contamination
GL11.glPopMatrix();
}
}
/**
* Returns the bound of this class