|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfeud.testgame.view.DecalManager
A simple manager class for managing decals. Decals are easy to handle because they exist on the client only.
Constructor Summary | |
DecalManager(com.threed.jpct.World world)
Create a new decal manager with a default number of decals. |
|
DecalManager(com.threed.jpct.World level,
int maxDecals)
Create a new decal manager with a maximum number of decals. |
Method Summary | |
void |
createDecal(com.threed.jpct.SimpleVector pos,
com.threed.jpct.SimpleVector normal)
Creates a new decal at the given position with the given orientation. |
void |
reset()
Sets all decals to invisible. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DecalManager(com.threed.jpct.World world)
world
- the worldpublic DecalManager(com.threed.jpct.World level, int maxDecals)
level
- the world.maxDecals
- the max. number of decalsMethod Detail |
public void reset()
public void createDecal(com.threed.jpct.SimpleVector pos, com.threed.jpct.SimpleVector normal)
pos
- the positionnormal
- the orientation. The decal will be placed perpendicular to the normal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |