mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-30 01:05:24 +00:00
using Vector2.angle()
This commit is contained in:
@@ -4,19 +4,21 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <Component/Renderer/Drawable3DComponent.hpp>
|
||||
#include "Component/Animation/AnimationsComponent.hpp"
|
||||
#include "System/System.hpp"
|
||||
|
||||
namespace BBM
|
||||
{
|
||||
//! @brief A system to handle Animator entities.
|
||||
class AnimatorSystem : public WAL::System
|
||||
class AnimatorSystem : public WAL::System<AnimationsComponent, ControllableComponent, Drawable3DComponent>
|
||||
{
|
||||
public:
|
||||
//! @inherit
|
||||
void onFixedUpdate(WAL::Entity &entity) override;
|
||||
void onFixedUpdate(WAL::ViewEntity<AnimationsComponent, ControllableComponent, Drawable3DComponent> &entity) override;
|
||||
|
||||
//! @brief A default constructor
|
||||
AnimatorSystem();
|
||||
AnimatorSystem(WAL::Wal &wal);
|
||||
//! @brief An Animator system is copy constructable
|
||||
AnimatorSystem(const AnimatorSystem &) = default;
|
||||
//! @brief A default destructor
|
||||
|
||||
Reference in New Issue
Block a user