mirror of
https://github.com/zetaPRIME/libstarlight.git
synced 2025-06-26 13:42:46 +00:00
15 lines
314 B
C++
15 lines
314 B
C++
#include "ParallaxLayer.h"
|
|
|
|
#include "starlight/GFXManager.h"
|
|
|
|
using starlight::Vector2;
|
|
|
|
using starlight::GFXManager;
|
|
|
|
using starlight::ui::UIContainer;
|
|
using starlight::ui::ParallaxLayer;
|
|
|
|
void ParallaxLayer::Draw() {
|
|
scrollOffset = Vector2(GFXManager::parallax * -depth, 0);
|
|
this->UIContainer::Draw();
|
|
} |