|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Background
Describe a standard interface for a scrolling background, depending of a speed and a vertical location.
Method Summary | |
---|---|
void |
render(java.awt.Graphics2D g)
Background renderings. |
void |
update(float speed,
float y,
float extrp)
Background updates. |
Method Detail |
---|
void update(float speed, float y, float extrp)
speed
- scrolling speed.y
- background y.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 |