|
Bomberman
|
A Holder for Model Animations. More...
#include <ModelAnimations.hpp>
Public Member Functions | |
| ModelAnimations (const std::string &filePath) | |
| A Model animation constructor. More... | |
| ModelAnimations (const ModelAnimations &)=default | |
| default copy ctor More... | |
| ~ModelAnimations ()=default | |
| Default constructor. More... | |
| ModelAnimations & | operator= (const ModelAnimations &)=default |
| Default assignment operator. More... | |
| ModelAnimation & | operator[] (int index) |
| Castin Object to raw model animation pointer. More... | |
| const ModelAnimation & | operator[] (int index) const |
| std [] const More... | |
| const ModelAnimation & | at (int index) const |
| std at const More... | |
| ModelAnimation & | at (int index) |
| std at More... | |
| size_t | getAnimationsCount () const |
| std::string | getFilePath () const |
| Get the creation file. More... | |
Private Attributes | |
| std::shared_ptr<::ModelAnimation > | _animationsPtr |
| Holds the pointer returned by the loading function. More... | |
| std::vector< ModelAnimation > | _animations |
| A holder for animations. More... | |
| int | _animationCount |
| the number of loaded animations More... | |
| std::string | _filePath |
| The file where the animations were loaded (used to create a copy of this class) More... | |
Static Private Attributes | |
| static Cache<::ModelAnimation > | _animationsCache |
A Holder for Model Animations.
|
explicit |
A Model animation constructor.
| filePath | Path to the file containing animations |
|
default |
default copy ctor
|
default |
Default constructor.
| RAY::ModelAnimation & RAY::ModelAnimations::at | ( | int | index | ) |
std at
| const RAY::ModelAnimation & RAY::ModelAnimations::at | ( | int | index | ) | const |
std at const
| size_t RAY::ModelAnimations::getAnimationsCount | ( | ) | const |
| std::string RAY::ModelAnimations::getFilePath | ( | ) | const |
Get the creation file.
|
default |
Default assignment operator.
| RAY::ModelAnimation & RAY::ModelAnimations::operator[] | ( | int | index | ) |
Castin Object to raw model animation pointer.
| const RAY::ModelAnimation & RAY::ModelAnimations::operator[] | ( | int | index | ) | const |
std [] const
|
private |
the number of loaded animations
|
private |
A holder for animations.
|
staticprivate |
|
private |
Holds the pointer returned by the loading function.
|
private |
The file where the animations were loaded (used to create a copy of this class)
1.8.17