Bomberman
sources
System
Animator
AnimatorSystem.hpp
Go to the documentation of this file.
1
//
2
// Created by hbenjamin on 03/06/2021.
3
//
4
5
#pragma once
6
7
#include <
Component/Renderer/Drawable3DComponent.hpp
>
8
#include "
Component/Animation/AnimationsComponent.hpp
"
9
#include "
System/System.hpp
"
10
11
namespace
BBM
12
{
14
class
AnimatorSystem
:
public
WAL::System
<AnimationsComponent, ControllableComponent, Drawable3DComponent>
15
{
16
public
:
18
void
onFixedUpdate
(
WAL::ViewEntity<AnimationsComponent, ControllableComponent, Drawable3DComponent>
&entity)
override
;
19
21
AnimatorSystem
(
WAL::Wal
&wal);
23
AnimatorSystem
(
const
AnimatorSystem
&) =
default
;
25
~AnimatorSystem
()
override
=
default
;
27
AnimatorSystem
&
operator=
(
const
AnimatorSystem
&) =
default
;
28
};
29
}
WAL::ViewEntity
Definition:
View.hpp:19
System.hpp
BBM::AnimatorSystem::~AnimatorSystem
~AnimatorSystem() override=default
A default destructor.
BBM::AnimatorSystem::operator=
AnimatorSystem & operator=(const AnimatorSystem &)=default
An Animator system is assignable.
BBM
Definition:
AnimationsComponent.cpp:9
WAL::Wal
The main WAL class, it is used to setup and run the ECS.
Definition:
Wal.hpp:27
BBM::AnimatorSystem::onFixedUpdate
void onFixedUpdate(WAL::ViewEntity< AnimationsComponent, ControllableComponent, Drawable3DComponent > &entity) override
Definition:
AnimatorSystem.cpp:25
BBM::AnimatorSystem::AnimatorSystem
AnimatorSystem(WAL::Wal &wal)
A default constructor.
Definition:
AnimatorSystem.cpp:21
WAL::System
A base system of WAL.
Definition:
System.hpp:22
BBM::AnimatorSystem
A system to handle Animator entities.
Definition:
AnimatorSystem.hpp:14
Drawable3DComponent.hpp
AnimationsComponent.hpp
Generated by
1.8.17