Something went wrong. Try again.
A card game engine for Magic: The Gathering inspired by Card Forge
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435#pragma once
#include <uuid.h>#include <string>using namespace std;
typedef uuids::uuid CardId;typedef uuids::uuid CardDefId;
struct Mana { unsigned int black; unsigned int white; unsigned int blue; unsigned int green; unsigned int red; unsigned int colorless;};
struct Card { CardDefId id; string name; Mana cost;};
struct CardInstance { CardId id; CardDefId source;};
struct CardRect { float x; float y; float w; float h;};