2023-11-14 00:32:05 -08:00
|
|
|
#pragma once
|
|
|
|
|
2024-01-26 09:01:01 -08:00
|
|
|
#include <ehs/json/Json.h>
|
2023-11-14 00:32:05 -08:00
|
|
|
|
2024-01-26 09:01:01 -08:00
|
|
|
#include <lwe/Level.h>
|
2023-11-14 00:32:05 -08:00
|
|
|
|
|
|
|
class TestLevel : public lwe::Level
|
|
|
|
{
|
|
|
|
private:
|
2024-01-26 09:01:01 -08:00
|
|
|
ehs::UInt_32 count;
|
2023-11-14 00:32:05 -08:00
|
|
|
float cooldown;
|
|
|
|
|
|
|
|
public:
|
|
|
|
TestLevel();
|
|
|
|
|
2024-01-26 09:01:01 -08:00
|
|
|
explicit TestLevel(const ehs::Str_8& id);
|
2023-11-14 00:32:05 -08:00
|
|
|
|
|
|
|
TestLevel(const TestLevel& level);
|
|
|
|
|
|
|
|
TestLevel& operator=(const TestLevel& level);
|
|
|
|
|
2024-01-26 09:01:01 -08:00
|
|
|
void SetupResources(lwe::GpuInterface* inf) override;
|
2023-11-14 00:32:05 -08:00
|
|
|
|
2024-02-20 23:07:28 -08:00
|
|
|
void Setup(lwe::GpuInterface* inf) override;
|
2023-11-14 00:32:05 -08:00
|
|
|
|
|
|
|
void PostInitialize(lwe::GpuCmdBuffer* cmdBuffer) override;
|
|
|
|
|
2024-01-26 09:01:01 -08:00
|
|
|
void OnUpdate(lwe::RenderWindow* win, ehs::Input* input, const float delta) override;
|
2023-11-14 00:32:05 -08:00
|
|
|
};
|