finishing up my reformatting of the source from November/December following the guidelines that were posted. some extra things I added: * Any empty virtual declarations were kept to one line. * Enums were split up into separate lines to promote uniformity across all headers. ( each header file had a different style for enums)
16 lines
250 B
C++
16 lines
250 B
C++
#ifndef _TARGETABLE_H_
|
|
#define _TARGETABLE_H_
|
|
|
|
#define TARGET_CARD 1
|
|
#define TARGET_PLAYER 2
|
|
#define TARGET_STACKACTION 3
|
|
|
|
class Targetable
|
|
{
|
|
public:
|
|
virtual int typeAsTarget() = 0;
|
|
virtual const string getDisplayName() const = 0;
|
|
};
|
|
|
|
#endif
|