Correct inheritance for TPinballComponent, TCollisionComponent.
This commit is contained in:
1 parent
a1678120f8
commit
62a63bbf2e
33 files changed
+282
-252
No files matched your search
@@ -1,11 +1,11 @@
|
||||
#pragma once
|
||||
#include "TPinballComponent.h"
|
||||
#include "TCollisionComponent.h"
|
||||
|
||||
class TBlocker :
|
||||
public TPinballComponent
|
||||
public TCollisionComponent
|
||||
{
|
||||
public:
|
||||
TBlocker(TPinballTable* table, int groupIndex) : TPinballComponent(table, groupIndex, false)
|
||||
TBlocker(TPinballTable* table, int groupIndex) : TCollisionComponent(table, groupIndex, true)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user