28 lines
468 B
C++
28 lines
468 B
C++
#ifndef BLOCKV_H
|
|
#define BLOCKV_H
|
|
|
|
#include <SDL.h>
|
|
#include <string>
|
|
|
|
class blockclass
|
|
{
|
|
public:
|
|
blockclass(void);
|
|
void clear(void);
|
|
|
|
void rectset(const int xi, const int yi, const int wi, const int hi);
|
|
|
|
void setblockcolour(const char* col);
|
|
public:
|
|
//Fundamentals
|
|
SDL_Rect rect;
|
|
int type;
|
|
int trigger;
|
|
int xp, yp, wp, hp;
|
|
std::string script, prompt;
|
|
int r, g, b;
|
|
int activity_x, activity_y;
|
|
};
|
|
|
|
#endif /* BLOCKV_H */
|