J :
* 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:
21
projects/mtg/include/Trash.h
Normal file
21
projects/mtg/include/Trash.h
Normal 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_
|
||||
Reference in New Issue
Block a user