|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BackgroundComponent
Represents the background component interface, which will contain background elements.
Method Summary | |
---|---|
void |
render(java.awt.Graphics2D g)
Render component. |
void |
update(int x,
int y,
float speed,
float extrp)
Update component. |
Method Detail |
---|
void update(int x, int y, float speed, float extrp)
x
- horizontal offset.y
- vertical offset.speed
- scrolling speed.extrp
- extrapolation value.void render(java.awt.Graphics2D g)
g
- graphic output.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |