1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00
vcmi/lib/CScriptingModule.h
Michał W. Urbańczyk 580c4e4c9b ERM is now a separate project, linking to ./Scripting/ERM.dll and consisting all ERM* files from ./lib.
Little changes around handling ERM. New class in lib: CFileUtility, so the code for scanning files with given extension is not duplicated.
2011-06-20 11:41:04 +00:00

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(){}
};