|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CVector2D | |
---|---|
game | Root package, contains IGame and IGameDisplay interfaces, and CGameCanvas and CGameLoop classes. |
game.geom | Definition of a 2D float-based vector and a 2D float-based bounding box. |
game.graphics | Contains various graphical entities, including the IGraphicObject interface. |
game.graphics.sprite | Contains the sprite handling classes. |
game.graphics.text | Text displaying classes (contains CBitmapFont and COnscreenMessage). |
game.physics | Set of abstract classes usefull for defining graphical objects in a physical world. |
Uses of CVector2D in game |
---|
Methods in game with parameters of type CVector2D | |
---|---|
private void |
CGameCanvas.generateSparkles(CVector2D position,
CVector2D velocity)
Generates sparkles. |
Uses of CVector2D in game.geom |
---|
Methods in game.geom that return CVector2D | |
---|---|
CVector2D |
CVector2D.add(CVector2D v)
|
CVector2D |
CBoundingBox.getCenter()
|
static CVector2D |
CVector2D.getRandomVector(float length)
|
static CVector2D |
CVector2D.getRandomVector(float min,
float max)
|
Methods in game.geom with parameters of type CVector2D | |
---|---|
CVector2D |
CVector2D.add(CVector2D v)
|
Constructors in game.geom with parameters of type CVector2D | |
---|---|
CVector2D(CVector2D v)
|
Uses of CVector2D in game.graphics |
---|
Methods in game.graphics that return CVector2D | |
---|---|
CVector2D |
IGraphicObject.getCenter()
|
CVector2D |
IGraphicObject.getVelocity()
|
Constructors in game.graphics with parameters of type CVector2D | |
---|---|
CBouncingBall(IGameDisplay gameRect,
CVector2D origin,
CVector2D speed,
float radius,
java.awt.Color color)
|
|
CMovingRect(IGameDisplay gameRect,
CBoundingBox boundingBox,
CVector2D speed,
java.awt.Color color)
|
|
CSparkle(IGameDisplay gameRect,
CVector2D position,
CVector2D velocity,
float lifetime)
|
Uses of CVector2D in game.graphics.sprite |
---|
Constructors in game.graphics.sprite with parameters of type CVector2D | |
---|---|
CAnimatedSprite(IGameDisplay gameRect,
CBoundingBox box,
CVector2D velocity,
java.awt.Image imgSprites,
float fFrameTime)
Fixed frame time version of the above. |
|
CAnimatedSprite(IGameDisplay gameRect,
CBoundingBox box,
CVector2D velocity,
java.awt.Image imgSprites,
float[] aFrameTimes)
|
Uses of CVector2D in game.graphics.text |
---|
Constructors in game.graphics.text with parameters of type CVector2D | |
---|---|
CEphemereText(IGameDisplay gameRect,
java.lang.String text,
float x,
float y,
CVector2D v,
float lifetime)
|
|
CMovingText(IGameDisplay gameDisplay,
java.lang.String strText,
float x,
float y,
CVector2D v)
|
Uses of CVector2D in game.physics |
---|
Fields in game.physics declared as CVector2D | |
---|---|
protected CVector2D |
CDynamicShape.m_v
|
Methods in game.physics that return CVector2D | |
---|---|
CVector2D |
CStaticShape.getCenter()
Returns the center of the shape's bounding box. |
CVector2D |
CDynamicShape.getVelocity()
|
CVector2D |
CStaticShape.getVelocity()
Returns a null vector (static shapes don't move). |
Constructors in game.physics with parameters of type CVector2D | |
---|---|
CColoredDynamicShape(IGameDisplay gameRect,
CBoundingBox boundingBox,
CVector2D velocity,
java.awt.Color color)
|
|
CDynamicShape(IGameDisplay gameRect,
CBoundingBox boundingBox,
CVector2D velocity)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |