Using Super.
This commit is contained in:
committed by
Alexander Harkness
parent
f931590bf0
commit
9ee47e5999
+3
-2
@@ -12,13 +12,14 @@ class cMonster;
|
||||
|
||||
|
||||
// tolua_begin
|
||||
class cPawn :
|
||||
class cPawn:
|
||||
public cEntity
|
||||
{
|
||||
// tolua_end
|
||||
typedef cEntity super;
|
||||
using Super = cEntity;
|
||||
|
||||
public:
|
||||
|
||||
CLASS_PROTODEF(cPawn)
|
||||
|
||||
cPawn(eEntityType a_EntityType, double a_Width, double a_Height);
|
||||
|
||||
Reference in New Issue
Block a user