Some checks reported errors
continuous-integration/drone/push Build was killed
feat: surface system This commit puts the project in major jeopardy as it overhauls the architecture such as removing the layer stack completely, etc. I am filled with determination.
25 lines
382 B
C++
25 lines
382 B
C++
#pragma once
|
|
|
|
namespace lt::app {
|
|
|
|
class ISystem
|
|
{
|
|
public:
|
|
ISystem() = default;
|
|
|
|
virtual ~ISystem() = default;
|
|
|
|
ISystem(ISystem &&) = default;
|
|
|
|
ISystem(const ISystem &) = delete;
|
|
|
|
auto operator=(ISystem &&) -> ISystem & = default;
|
|
|
|
auto operator=(const ISystem &) -> ISystem & = delete;
|
|
|
|
virtual void init() = 0;
|
|
|
|
virtual auto tick() -> bool = 0;
|
|
};
|
|
|
|
} // namespace lt::app
|