mirror of
https://github.com/TerryCavanagh/VVVVVV.git
synced 2024-11-16 16:09:42 +01:00
32 lines
483 B
C
32 lines
483 B
C
|
#ifndef BLOCKV_H
|
||
|
#define BLOCKV_H
|
||
|
|
||
|
#include "SDL.h"
|
||
|
#include <string>
|
||
|
|
||
|
class blockclass
|
||
|
{
|
||
|
public:
|
||
|
blockclass();
|
||
|
|
||
|
void clear();
|
||
|
|
||
|
void rectset(const int xi, const int yi, const int wi, const int hi);
|
||
|
public:
|
||
|
//Fundamentals
|
||
|
bool active;
|
||
|
SDL_Rect rect;
|
||
|
int type;
|
||
|
int trigger;
|
||
|
int xp, yp, wp, hp;
|
||
|
std::string script, prompt;
|
||
|
int r, g, b;
|
||
|
|
||
|
//These would come from the sprite in the flash
|
||
|
float x;
|
||
|
float y;
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif /* BLOCKV_H */
|