Files
Archimedes/include/utils/Layers/Layer.h
2025-04-08 11:47:24 -05:00

26 lines
377 B
C++

#ifndef LAYER_H
#define LAYER_H
#include "pch.hpp"
#include "utils/Events/Event.h"
namespace Archimedes {
class Layer {
public:
virtual ~Layer() {}
virtual void onRender() = 0;
virtual void onAttach() = 0;
virtual void onDetach() = 0;
virtual bool onEvent(const Event&) = 0;
};
}
#endif