Skip to content

Commit

Permalink
feat(Components): Add Components2D header file
Browse files Browse the repository at this point in the history
  • Loading branch information
MasterLaplace committed Jan 8, 2024
1 parent c28788c commit 01b6703
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ set(HEADERS
Flakkari/Protocol/Header.hpp
Flakkari/Protocol/Packet.hpp
Flakkari/Engine/Math/Vector.hpp
Flakkari/Engine/EntityComponentSystem/Components/Components2D.hpp
Flakkari/Engine/EntityComponentSystem/Entity.hpp
Flakkari/Engine/EntityComponentSystem/SparseArrays.hpp
Flakkari/Engine/EntityComponentSystem/Registry.hpp
Expand Down
22 changes: 22 additions & 0 deletions Flakkari/Engine/EntityComponentSystem/Components/Components2D.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/**************************************************************************
* Flakkari Engine Library v0.1.0
*
* Flakkari Library is a C++ Library for Network.
* @file Components2D.hpp
* @brief Components2D header. Contains all 2D components.
* (Collider, Movable, RigidBody, Transform)
*
* Flakkari Library is under MIT License.
* https://opensource.org/licenses/MIT
* © 2023 @MasterLaplace
* @version 0.1.0
* @date 2023-01-06
**************************************************************************/

#ifndef COMPONENTS2D_HPP_
#define COMPONENTS2D_HPP_

#include "2D/Movable.hpp" // Movable component (velocity, angularVelocity, acceleration, angularAcceleration)
#include "2D/Transform.hpp" // Transform component (position, rotation, scale)

#endif /* !COMPONENTS2D_HPP_ */

0 comments on commit 01b6703

Please sign in to comment.