public interface BackgroundComponent
Modifier and Type | Method and Description |
---|---|
void |
render(Graphic g)
Render component.
|
void |
update(double extrp,
int x,
int y,
double speed)
Update component.
|
void update(double extrp, int x, int y, double speed)
extrp
- The extrapolation value.x
- The horizontal offset.y
- The vertical offset.speed
- The scrolling speed.void render(Graphic g)
g
- The graphic output.Copyright © 2017 Byron 3D Games Studio. All rights reserved.