<reponame>akash5852/chip8-emulator
//<NAME>
//Special Thanks to <NAME> for the tutorial

#include <cstdint>

class SDL_Window;
class SDL_Renderer;
class SDL_Texture;

class Platform
{
public:
	Platform(char const *title, int windowWidth, int windowHeight, int textureWidth, int textureHeight);
	~Platform();
	void Update(void const *buffer, int pitch);
	bool ProcessInput(uint8_t *keys);

private:
	SDL_Window *window{};
	SDL_Renderer *renderer{};
	SDL_Texture *texture{};
};
