Files
wagic/projects/mtg/include/CardDescriptor.h
wagic.the.homebrew d45e3b101b
2008-11-02 09:50:16 +00:00

22 lines
509 B
C++

/*
A Filter/Mask system for Card Instances to find cards matching specific settings such as color, type, etc...
*/
#ifndef _CARDDESCRIPTOR_H_
#define _CARDDESCRIPTOR_H_
#include "MTGCardInstance.h"
#include "MTGGameZones.h"
class CardDescriptor: public MTGCardInstance{
protected:
public:
int init();
CardDescriptor();
MTGCardInstance * match(MTGCardInstance * card);
MTGCardInstance * match(MTGGameZone * zone);
MTGCardInstance * nextmatch(MTGGameZone * zone, MTGCardInstance * previous);
};
#endif