39 void update(
int timePassed,
float dx,
float dy);
float mPosY
Current layer Y position.
void draw(Graphics *graphics)
float mPosX
Current layer X position.
float mSpeedX
Scrolling speed in X direction.
float mSpeedY
Scrolling speed in Y direction.
bool mKeepRatio
Keep overlay ratio on every resolution like in 800x600.
float mParallax
Scroll factor based on camera position.
ResourceRef< Image > mImage
void update(int timePassed, float dx, float dy)
A central point of control for graphics.
Defines a class for loading and storing images.
Automatically counting Resource reference.