First test for card database: loading and clear

This commit is contained in:
Fabio Bas 2016-03-21 00:24:22 +01:00
parent df393638ed
commit 18993b397b
8 changed files with 236 additions and 2 deletions

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<cockatrice_carddatabase version="3">
<cards>
<card>
<name>Cat</name>
<set muId="111">CAT</set>
<color>G</color>
<manacost>2G</manacost>
<cmc>2</cmc>
<type>Creature</type>
<pt>3/3</pt>
<tablerow>0</tablerow>
<text>Meow!</text>
</card>
<card>
<name>Dog</name>
<set muId="222">DOG</set>
<color>R</color>
<manacost>2RR</manacost>
<cmc>4</cmc>
<type>Creature</type>
<pt>4/4</pt>
<tablerow>0</tablerow>
<text>Woof!</text>
</card>
</cards>
</cockatrice_carddatabase>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<cockatrice_carddatabase version="3">
<cards>
<card>
<name>Sparrow</name>
<set muId="333">BRD</set>
<color>W</color>
<manacost>W</manacost>
<cmc>1</cmc>
<type>Creature</type>
<pt>1/1</pt>
<tablerow>0</tablerow>
<text></text>
</card>
<card>
<name>Crow</name>
<set muId="334">BRD</set>
<color>B</color>
<manacost>1B</manacost>
<cmc>2</cmc>
<type>Creature</type>
<pt>2/2</pt>
<tablerow>0</tablerow>
<text></text>
</card>
</cards>
</cockatrice_carddatabase>

View file

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<cockatrice_carddatabase version="3">
<cards>
<card>
<name>Kitten</name>
<set muId="112">CAT</set>
<color>G</color>
<manacost></manacost>
<cmc></cmc>
<type>Token</type>
<pt>1/1</pt>
<tablerow>0</tablerow>
<text></text>
<token>1</token>
</card>
<card>
<name>Puppy</name>
<set muId="223">DOG</set>
<color>R</color>
<manacost></manacost>
<cmc></cmc>
<type>Token</type>
<pt>1/1</pt>
<tablerow>0</tablerow>
<text></text>
<token>1</token>
</card>
</cards>
</cockatrice_carddatabase>