#pragma once #include 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; };