This repository has been archived on 2026-03-15. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
SakuraVNE_old/SakuraVNE/src/Layer.h

24 lines
484 B
C
Raw Normal View History

2026-03-12 21:56:05 +01:00
#pragma once
#include <string>
namespace SakuraVNE {
class Layer {
public:
Layer(const std::string &name = "Layer");
virtual ~Layer() = default;
virtual void OnStart() {}
virtual void OnFrame(float timestamp) {}
virtual void OnEnd() {}
virtual void OnEvent() {}
virtual void OnAttach() {}
virtual void OnDetach() {}
const std::string &GetName() const { return m_LayerName; }
protected:
std::string m_LayerName;
};
} // namespace SakuraVNE