|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.physics.CStaticShape game.physics.CDynamicShape game.physics.CColoredDynamicShape
public abstract class CColoredDynamicShape
Extends CDynamicShape by adding color. Used in graphics package as a base class for rectangles and discs.
Field Summary | |
---|---|
protected java.awt.Color |
m_color
|
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 | |
---|---|
CColoredDynamicShape(IGameDisplay gameRect,
CBoundingBox boundingBox,
CVector2D velocity,
java.awt.Color color)
|
Method Summary |
---|
Methods inherited from class game.physics.CDynamicShape |
---|
animate, bounceOnGameRect, cycle, getVelocity, wrapAtGameLimits |
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 |
Field Detail |
---|
protected java.awt.Color m_color
Constructor Detail |
---|
public CColoredDynamicShape(IGameDisplay gameRect, CBoundingBox boundingBox, CVector2D velocity, java.awt.Color color)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |