|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgame.physics.CStaticShape
game.physics.CDynamicShape
game.graphics.text.CMovingText
game.graphics.text.CEphemereText
public class CEphemereText
A CMovingText with a lifetime.
| Field Summary | |
|---|---|
(package private) float |
m_lifetime
|
| Fields inherited from class game.graphics.text.CMovingText |
|---|
m_font, m_strText |
| Fields inherited from class game.physics.CDynamicShape |
|---|
G, m_bApplyGravity, m_bBouceOnGameRect, m_v |
| Fields inherited from class game.physics.CStaticShape |
|---|
m_box, m_gameDisplay, m_isHidden |
| Constructor Summary | |
|---|---|
CEphemereText(IGameDisplay gameRect,
java.lang.String text,
float x,
float y,
CVector2D v,
float lifetime)
|
|
| Method Summary | |
|---|---|
void |
animate(float dt)
Does nothing (static shapes don't move). |
boolean |
isDead()
|
| Methods inherited from class game.graphics.text.CMovingText |
|---|
draw |
| Methods inherited from class game.physics.CDynamicShape |
|---|
bounceOnGameRect, cycle, getVelocity |
| Methods inherited from class game.physics.CStaticShape |
|---|
drawBox, getCenter, 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, draw, getCenter, getVelocity, intersect |
| Field Detail |
|---|
float m_lifetime
| Constructor Detail |
|---|
public CEphemereText(IGameDisplay gameRect,
java.lang.String text,
float x,
float y,
CVector2D v,
float lifetime)
| Method Detail |
|---|
public final boolean isDead()
isDead in interface IEphemereObjectpublic void animate(float dt)
CStaticShape
animate in interface IGraphicObjectanimate in class CDynamicShape
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||