1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-05 02:39:41 +01:00
VVVVVV/desktop_version/src/BlockV.h

27 lines
436 B
C
Raw Normal View History

2020-01-01 21:29:24 +01:00
#ifndef BLOCKV_H
#define BLOCKV_H
#include <SDL.h>
2020-01-01 21:29:24 +01:00
#include <string>
class blockclass
{
public:
blockclass(void);
void clear(void);
2020-01-01 21:29:24 +01:00
void rectset(const int xi, const int yi, const int wi, const int hi);
void setblockcolour(std::string col);
2020-01-01 21:29:24 +01:00
public:
//Fundamentals
SDL_Rect rect;
int type;
int trigger;
int xp, yp, wp, hp;
std::string script, prompt;
int r, g, b;
};
#endif /* BLOCKV_H */