move parts to new common component to avoid circular dependency of zonecommon and objcommon

This commit is contained in:
Jan
2021-03-03 12:56:15 -08:00
parent d616738be4
commit 12461d27e7
38 changed files with 70 additions and 22 deletions

15
src/Common/Game/IGame.h Normal file
View File

@ -0,0 +1,15 @@
#pragma once
#include "GameLanguage.h"
#include <vector>
class Zone;
class IGame
{
public:
virtual const std::string& GetName() = 0;
virtual void AddZone(Zone* zone) = 0;
virtual void RemoveZone(Zone* zone) = 0;
virtual std::vector<Zone*> GetZones() = 0;
virtual std::vector<GameLanguagePrefix> GetLanguagePrefixes() = 0;
};