mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
580c4e4c9b
Little changes around handling ERM. New class in lib: CFileUtility, so the code for scanning files with given extension is not duplicated.
16 lines
534 B
C++
16 lines
534 B
C++
#pragma once
|
|
#include "../global.h"
|
|
#include "IGameEventsReceiver.h"
|
|
#include "IGameCallback.h"
|
|
|
|
class CScriptingModule : public IGameEventsReceiver, public IBattleEventsReceiver
|
|
{
|
|
public:
|
|
virtual void executeUserCommand(const std::string &cmd){};
|
|
virtual void init(){}; //called upon the start of game (after map randomization, before first turn)
|
|
virtual void giveActionCB(IGameEventRealizer *cb){};
|
|
virtual void giveInfoCB(CPrivilagedInfoCallback *cb){};
|
|
|
|
CScriptingModule(){}
|
|
virtual ~CScriptingModule(){}
|
|
}; |