* 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.
22 lines
286 B
C++
22 lines
286 B
C++
#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_
|