Correct inheritance for TPinballComponent, TCollisionComponent.

This commit is contained in:
oz committed 2020-11-28 15:59:42 +03:00
1 parent a1678120f8
commit 62a63bbf2e
33 files changed
+282 -252

No files matched your search

+4 -4
View File
@@ -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)
{
}
};