R-Type  1.0.1.0
Rewrite of the R-Type game with networking ability
Loading...
Searching...
No Matches
ParallaxLayer.hpp
1
2#ifndef R_TYPE_PARALLAXLAYER_HPP
3#define R_TYPE_PARALLAXLAYER_HPP
4
5#include "uranus/engine/Engine.hpp"
6
7class ParallaxLayer : public engine::Base {
8public:
9 ParallaxLayer(std::string &name, std::shared_ptr<engine::Texture> &texture, float speed);
10
11 void loop(size_t entity, float delta);
12
13private:
14 float _speed;
15};
16
17#endif //R_TYPE_PARALLAXLAYER_HPP
Definition: ParallaxLayer.hpp:7
Definition: Base.hpp:15