Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graph/include/animationsystem.h

21 lines
382 B
C
Raw Normal View History

#pragma once
#include <string>
#include "cinematic.h"
class AnimationSystem {
public:
Cinematic* loadCinematic(const std::string& path);
void update(Cinematic* cinematic, float deltaTime);
private:
void preloadShot(Shot* shot);
void loadShot(Shot* shot);
void unloadShot(Shot* shot);
float animationTime = 0.0f;
int currentShot = 0;
};