#pragma once #include #include class Game : public lwe::Level { private: static const float paddleSpeed; static const float ballSpeed; lwe::UInt_64 plyScore; lwe::UInt_64 aiScore; bool started; public: ~Game() override; Game(); Game(const Game& lvl); Game& operator=(const Game& lvl); void SetupResources() override; void Setup() override; void PostInitialize(lwe::GpuCmdBuffer* cmdBuffer) override; void OnUpdate(lwe::Input* input, const float delta) override; void PreRender(lwe::GpuCmdBuffer* cmdBuffer) override; private: void ResetGame(const lwe::Entity* bounds, lwe::Entity* ball); };