Air-Trap 1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
ParallaxLayer.hpp
Go to the documentation of this file.
1/*
2** EPITECH PROJECT, 2025
3** Air-Trap
4** File description:
5** Parralax
6*/
7
8#pragma once
9
10namespace rtp::ecs::components {
11
18 float textureWidth = {0.0f};
19 float speed = {100.0f};
21};
22
23} // namespace rtp::ecs::components
File : Ammo.hpp License: MIT Author : Elias Josué HAJJAR LLAUQUEN elias-josue.hajjar-llauquen@epitech...
Definition Ammo.hpp:13
Tag component indicating that an entity should loop its position when it exits the screen (infinite s...
float textureWidth
Width of the texture used for parallax scrolling.
float speed
Scrolling speed of the parallax layer.