first commit

This commit is contained in:
2021-01-29 21:14:20 -05:00
commit b2acceb4b9
78 changed files with 6774 additions and 0 deletions

34
src/assetmgr/GameObject.h Normal file
View File

@@ -0,0 +1,34 @@
/*
* GameObject.h
*
* Created on: Feb 11, 2020
* Author: ayoungblood
*/
#ifndef SRC_GAMEOBJECT_H_
#define SRC_GAMEOBJECT_H_
#include "../game/Game.hpp"
class GameObject
{
public:
GameObject(const char* texturesheet, int x, int y);
~GameObject();
void Update();
void Render();
private:
int xpos;
int ypos;
SDL_Texture* objTexture;
SDL_Rect srcRect, destRect;
};
#endif /* SRC_GAMEOBJECT_H_ */