Class Background
java.lang.Object
com.csse3200.game.minigames.birdiedash.entities.Background
This claass makes a moving background for the Birdie Dash Mini-Game
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
xBG1
public static float xBG1 -
xBG2
public static float xBG2
-
-
Constructor Details
-
Background
public Background(float startSpeed, float screenWidth)
-
-
Method Details
-
update
public void update(float dt) Updates the background to be moving- Parameters:
dt
- time since last update
-