mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-06-28 15:38:30 +02:00
a10342f5e6
There's no reason it needs to be an std::string here. Although, realistically, we should be using an enum instead of string-typing, but, eh, that can be fixed later.
27 lines
436 B
C++
27 lines
436 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;
|
|
};
|
|
|
|
#endif /* BLOCKV_H */
|