R-Type
Public Member Functions | List of all members
GameEngine::AnimationSystem Class Reference

Class representing the sprite sheet animation system. More...

#include <AnimationSystem.hpp>

Public Member Functions

 AnimationSystem (const float &deltaTime)
 constructor More...
 
 ~AnimationSystem ()=default
 destructor More...
 
void operator() (SparseArray< TextureComponent > &texture)
 overload of () operator function that updates the texture to the next animation More...
 

Detailed Description

Class representing the sprite sheet animation system.

Constructor & Destructor Documentation

◆ AnimationSystem()

GameEngine::AnimationSystem::AnimationSystem ( const float &  deltaTime)
inline

constructor

Parameters
deltaTimeThe delta time of the game for handle game animation

◆ ~AnimationSystem()

GameEngine::AnimationSystem::~AnimationSystem ( )
default

destructor

Member Function Documentation

◆ operator()()

void GameEngine::AnimationSystem::operator() ( SparseArray< TextureComponent > &  texture)

overload of () operator function that updates the texture to the next animation

Parameters
texturethe Array that contains the texture components

The documentation for this class was generated from the following files: