* Add the Trash facility and use it for CardViews.
* Fix a graphical bug with card shadows.
* Fix a graphical bug with limitors.
* Enhance the graphical appearance of cards going to graveyard.
This commit is contained in:
jean.chalard
2009-09-05 11:44:34 +00:00
parent 44738399dc
commit b6781e82f1
8 changed files with 78 additions and 14 deletions

View File

@@ -0,0 +1,21 @@
#ifndef _TRASH_H_
#define _TRASH_H_
#include <vector>
#include "Pos.h"
#include "WEvent.h"
void trash(Pos*);
class Trash
{
std::vector<Pos*> bin;
void put_out();
int receiveEvent(WEvent* e);
friend void trash(Pos*);
public:
static void cleanup();
};
#endif // _TRASH_H_