igraphic 0.2.0
Contrats graphiques chargeables : IGraphic2Module / IGraphic3Module
Loading...
Searching...
No Matches
IAnimationSet.hpp
Go to the documentation of this file.
1
11#ifndef IANIMATIONSET_HPP_
12 #define IANIMATIONSET_HPP_
13
14 #include <string>
15
16namespace graphic {
17
27
28 public:
29
30 virtual ~IAnimationSet() = default;
31
37 virtual bool isReady() const = 0;
38
44 virtual int getSize() const = 0;
45
56 virtual std::string getName(int index) const = 0;
57
64 virtual int getFrameCount(int index) const = 0;
65 };
66
67} // namespace graphic
68
71#endif /* !IANIMATIONSET_HPP_ */
A file's loaded animation clips, independent of any IModel bound to it - deleting every bound IModel ...
Definition IAnimationSet.hpp:26
virtual std::string getName(int index) const =0
The clip name, as it appears in the file.
virtual int getSize() const =0
Get the number of clips in this set.
virtual bool isReady() const =0
notice if the animation set is ready
virtual int getFrameCount(int index) const =0
How many frames this clip has.
virtual ~IAnimationSet()=default
Definition IGamepad.hpp:14