Start trying own game

This commit is contained in:
2025-10-12 19:40:12 +02:00
parent 0a83eb3c10
commit 860d8febe6
8 changed files with 398 additions and 0 deletions

27
Capter1/ax_game.hpp Normal file
View File

@@ -0,0 +1,27 @@
#pragma once
#include "SDL2/SDL.h"
#include "ball.hpp"
class ax_game
{
private:
void Input();
void Update();
void Output();
SDL_Window *ax_Window;
SDL_Renderer *ax_Renderer;
Uint32 ax_TickCounter;
bool ax_IsRunning;
ball ax_ball_one;
public:
ax_game();
~ax_game();
bool Init();
void RunLoop();
void Shutdown();
};