|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgame.physics.CStaticShape
game.graphics.text.COnscreenMessage
game.graphics.text.CEphemereMessage
public class CEphemereMessage
A COnscreenMessage with a lifetime.
| Field Summary | |
|---|---|
protected float |
m_lifetime
|
| Fields inherited from class game.graphics.text.COnscreenMessage |
|---|
DEFAULT_COLOR, DEFAULT_TYPE, m_sDelay, m_strText, m_type, PADDING, TYPE_BOTTOM_RIGHT, TYPE_CENTRED |
| Fields inherited from class game.physics.CStaticShape |
|---|
m_box, m_gameDisplay, m_isHidden |
| Constructor Summary | |
|---|---|
CEphemereMessage(IGameDisplay gameDisplay,
java.lang.String strText)
|
|
| Method Summary | |
|---|---|
void |
animate(float dt)
Zoom and rotation are dealt with here. |
void |
draw(java.awt.Graphics g)
|
boolean |
isDead()
|
| Methods inherited from class game.graphics.text.COnscreenMessage |
|---|
initImage, isShowing, setFrequency, setMaxRot, setMinZoom, setZoomAmplitude, show |
| Methods inherited from class game.physics.CStaticShape |
|---|
cycle, drawBox, getCenter, getVelocity, hide, intersect, isHidden, show |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface game.graphics.IGraphicObject |
|---|
cycle, getCenter, getVelocity, intersect |
| Field Detail |
|---|
protected float m_lifetime
| Constructor Detail |
|---|
public CEphemereMessage(IGameDisplay gameDisplay,
java.lang.String strText)
| Method Detail |
|---|
public final void animate(float dt)
COnscreenMessage
animate in interface IGraphicObjectanimate in class COnscreenMessagepublic void draw(java.awt.Graphics g)
draw in interface IGraphicObjectdraw in class COnscreenMessagepublic final boolean isDead()
isDead in interface IEphemereObject
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||