2020-11-01 16:45:29 +01:00
|
|
|
#pragma once
|
2020-11-28 13:59:42 +01:00
|
|
|
#include "TCollisionComponent.h"
|
|
|
|
|
2020-11-01 16:45:29 +01:00
|
|
|
class TBlocker :
|
2022-09-06 15:57:56 +02:00
|
|
|
public TCollisionComponent
|
2020-11-01 16:45:29 +01:00
|
|
|
{
|
|
|
|
public:
|
2021-01-16 15:45:29 +01:00
|
|
|
TBlocker(TPinballTable* table, int groupIndex);
|
2022-09-06 15:57:56 +02:00
|
|
|
int Message(MessageCode code, float value) override;
|
2021-01-16 15:45:29 +01:00
|
|
|
|
|
|
|
static void TimerExpired(int timerId, void* caller);
|
|
|
|
|
2022-09-06 10:58:35 +02:00
|
|
|
int InitialDuration;
|
|
|
|
int ExtendedDuration;
|
2021-01-16 15:45:29 +01:00
|
|
|
int Timer;
|
|
|
|
int SoundIndex4;
|
|
|
|
int SoundIndex3;
|
2020-11-01 16:45:29 +01:00
|
|
|
};
|