first commit
This commit is contained in:
23
src/assetmgr/TextureManager.h
Normal file
23
src/assetmgr/TextureManager.h
Normal file
@ -0,0 +1,23 @@
|
||||
/*
|
||||
* TextureManager.h
|
||||
*
|
||||
* Created on: Feb 11, 2020
|
||||
* Author: ayoungblood
|
||||
*/
|
||||
|
||||
#ifndef SRC_TEXTUREMANAGER_H_
|
||||
#define SRC_TEXTUREMANAGER_H_
|
||||
|
||||
// #include <SDL2/SDL_image.h>
|
||||
#include "../game/Game.hpp"
|
||||
|
||||
class TextureManager
|
||||
{
|
||||
public:
|
||||
static SDL_Texture* LoadTexture(const char* fileName);
|
||||
static void Draw(SDL_Texture* tex, SDL_Rect src, SDL_Rect dest, SDL_RendererFlip flip);
|
||||
};
|
||||
|
||||
|
||||
|
||||
#endif /* SRC_TEXTUREMANAGER_H_ */
|
Reference in New Issue
Block a user