mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
45 lines
899 B
C++
45 lines
899 B
C++
/*
|
|
This Source Code Form is subject to the
|
|
terms of the Mozilla Public License, v.
|
|
2.0. If a copy of the MPL was not
|
|
distributed with this file, You can
|
|
obtain one at
|
|
http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#ifndef EvLaunchH
|
|
#define EvLaunchH
|
|
|
|
#include <string>
|
|
#include "Classes.h"
|
|
|
|
class TEventLauncher
|
|
{
|
|
private:
|
|
int iKey;
|
|
double DeltaTime;
|
|
double UpdatedTime;
|
|
double fVal1;
|
|
double fVal2;
|
|
char *szText;
|
|
int iHour, iMinute; // minuta uruchomienia
|
|
public:
|
|
double dRadius;
|
|
std::string asEvent1Name;
|
|
std::string asEvent2Name;
|
|
std::string asMemCellName;
|
|
TEvent *Event1;
|
|
TEvent *Event2;
|
|
TMemCell *MemCell;
|
|
int iCheckMask;
|
|
TEventLauncher();
|
|
~TEventLauncher();
|
|
void Init();
|
|
bool Load(cParser *parser);
|
|
bool Render();
|
|
bool IsGlobal();
|
|
};
|
|
|
|
//---------------------------------------------------------------------------
|
|
#endif
|