game.graphics
Interface IGraphicObject

All Known Subinterfaces:
ICriticalObject, IEphemereObject
All Known Implementing Classes:
CAnimatedSprite, CBouncingBall, CEphemereMessage, CEphemereText, CHighscoreTable, CMovingRect, CMovingText, COnscreenMessage, CScoreManager, CSparkle, CStaticSprite

public interface IGraphicObject

Interface needed to be inserted in a layer, and then animated and drawn to the screen.

Author:
sroccaserra

Method Summary
 void animate(float dt)
           
 void cycle()
           
 void draw(java.awt.Graphics g)
           
 CVector2D getCenter()
           
 CVector2D getVelocity()
           
 boolean intersect(float x, float y)
           
 

Method Detail

animate

void animate(float dt)

cycle

void cycle()

draw

void draw(java.awt.Graphics g)

intersect

boolean intersect(float x,
                  float y)

getCenter

CVector2D getCenter()

getVelocity

CVector2D getVelocity()