Something went wrong. Try again.
A card game engine for Magic: The Gathering inspired by Card Forge
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233#pragma once
#include <uuid.h>#include <string>#include <flecs.h>#include <vector>using namespace std;
typedef uuids::uuid ZoneId;
enum ZoneVisibility { Hidden, Owner, All};
enum ZoneType { Hand, Library, Exile, Graveyard, Command, Battlefield};
struct Zone { ZoneId id; flecs::entity owner; vector<flecs::entity> cards; string name; ZoneVisibility visibility; ZoneType zoneType;};