com.b3dgs.lionengine.game
Interface Background

All Known Implementing Classes:
AbstractBackground

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

update

void update(float speed,
            float y,
            float extrp)
Background updates.

Parameters:
speed - scrolling speed.
y - background y.
extrp - extrapolation value.

render

void render(java.awt.Graphics2D g)
Background renderings.

Parameters:
g - graphic output.