Hmm, here's another interesting question:

If we have:

<stack>
    <background>
        <card> <!-- Card 1 -->
        <card> <!-- Card 3 -->
    </background>
    <background>
        <card> <!-- Card 2 -->
        <card> <!-- Card 4 -->
    </background>
</stack>

How do we handle such out of order cards?

In the XML file format I whipped up for testing originally, it was done
similar to:

<stack>
    <card bg="1"> <!-- Card 1 -->
    <card bg="2"> <!-- Card 2 -->
    <card bg="1"> <!-- Card 3 -->
    <card bg="2"> <!-- Card 4 -->

    <background id="1">
    <background id="2">
</stack>

In other words, list the cards in the order they appear in the stack, and
the backgrounds separately and then use the id of the background to refer to
it.  I think that's the only way to achieve what we want but am happy to
hear other ideas.

It's amazing what you discover when you move into implementation phase. :)

Regards,

Adrian Sutton.
----------------------------------------------
Intencha "tomorrow's technology today"
Ph: 38478913 0422236329
Suite 8/29 Oatland Crescent
Holland Park West 4121
Australia QLD
www.intencha.com



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Freecard-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freecard-general

Reply via email to