VEGO-Engine  0.1
Loading...
Searching...
No Matches
GameObject.h
1#pragma once
2#include <SDL.h>
3
5{
6public:
7 GameObject(const char* texturesheet, int x, int y);
8 ~GameObject() = default;
9
10 void update();
11 void render();
12
13private:
14 int xPos;
15 int yPos;
16
17 SDL_Texture* objTexture;
18 SDL_Rect srcRect;
19 SDL_Rect destRect;
20};
21
Definition GameObject.h:5