2020-11-01 16:45:29 +01:00
|
|
|
#pragma once
|
|
|
|
#include "TPinballComponent.h"
|
2021-01-01 14:14:11 +01:00
|
|
|
|
2020-11-01 16:45:29 +01:00
|
|
|
class TTimer :
|
2022-09-06 10:58:35 +02:00
|
|
|
public TPinballComponent2
|
2020-11-01 16:45:29 +01:00
|
|
|
{
|
|
|
|
public:
|
2021-01-01 14:14:11 +01:00
|
|
|
TTimer(TPinballTable* table, int groupIndex);
|
2022-09-06 10:58:35 +02:00
|
|
|
int Message2(MessageCode code, float value) override;
|
2021-01-01 14:14:11 +01:00
|
|
|
static void TimerExpired(int timerId, void* caller);
|
2020-11-01 16:45:29 +01:00
|
|
|
|
2021-01-01 14:14:11 +01:00
|
|
|
int Timer;
|
|
|
|
};
|