Clean up
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include "EmulatorComponent.h"
|
||||
#include "GameState.h"
|
||||
|
||||
namespace TLAC::Components
|
||||
{
|
||||
class FastLoader : public EmulatorComponent
|
||||
{
|
||||
public:
|
||||
FastLoader();
|
||||
~FastLoader();
|
||||
|
||||
virtual const char* GetDisplayName() override;
|
||||
|
||||
virtual void Initialize(ComponentsManager*) override;
|
||||
virtual void Update() override;
|
||||
virtual void UpdateInput() override;
|
||||
|
||||
private:
|
||||
const int updatesPerFrame = 39;
|
||||
|
||||
GameState currentGameState;
|
||||
GameState previousGameState;
|
||||
bool dataInitialized = false;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user