12345678910111213141516171819 |
- #pragma once
- #include <SFML/Graphics.hpp>
- using namespace sf;
- struct Animation {
- Animation() {
- // Turns out to be constant.
- count = 166;
- }
- Texture tex;
- Texture tex1;
- Texture tex2;
- unsigned count;
- unsigned duration;
- std::string name;
- bool loop;
- };
|