Contact me to be added to this repository. Push the creations you make for D&D, and they will be displayed in a nice website. See the website for how to contribute.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
234 B

#pragma once
#include "Texture.h"
class NPC {
private:
int x,y;
Texture sprite;
public:
NPC(int x_,int y_,std::string fpath): x(x_),y(y_){
sprite.loadFromFile(fpath);
}
void render(SDL_Rect);
};