Added super typedef

This commit is contained in:
Tycho
2014-07-15 12:27:36 +01:00
parent 0e5fa2662a
commit 01a31a1872
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -12,9 +12,10 @@
class cBlockLadderHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >
{
typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> > super;
public:
cBlockLadderHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x05, 0x03, 0x04> >(a_BlockType)
: super(a_BlockType)
{
}
+2 -1
View File
@@ -10,9 +10,10 @@
class cBlockLilypadHandler :
public cClearMetaOnDrop<cBlockHandler>
{
typedef cClearMetaOnDrop<cBlockHandler> super;
public:
cBlockLilypadHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cBlockHandler>(a_BlockType)
: super(a_BlockType)
{
}
};
+2 -1
View File
@@ -8,9 +8,10 @@
class cBlockPumpkinHandler :
public cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >
{
typedef cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> > super;
public:
cBlockPumpkinHandler(BLOCKTYPE a_BlockType)
: cClearMetaOnDrop<cMetaRotator<cBlockHandler, 0x07, 0x02, 0x03, 0x00, 0x01, false> >(a_BlockType)
: super(a_BlockType)
{
}