yupplemayham/YuppleMayham/include/graphics/texture.h
Ethan Adams 3075a01b3d Sorted header files under include
made Script base class for AIScript and eventually WeaponScript
2024-06-22 23:01:50 -04:00

22 lines
No EOL
346 B
C++

#ifndef _H_TEXTURE_H
#define _H_TEXTURE_H
class Texture
{
public:
Texture() {}
bool loadTexture(const char* imagePath);
void bind();
const int getWidth() const { return textureWidth; }
const int getHeight() const { return textureHeight; }
~Texture();
private:
unsigned ID = 0;
int textureWidth = 0;
int textureHeight = 0;
};
#endif