Start trying own game
This commit is contained in:
27
Capter1/ax_game.hpp
Normal file
27
Capter1/ax_game.hpp
Normal 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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user