net.sf.magicproject.xml.action
Class Givemana

java.lang.Object
  extended by net.sf.magicproject.xml.action.Givemana
All Implemented Interfaces:
XmlToMDB

public class Givemana
extends java.lang.Object
implements XmlToMDB

Since:
0.82, 0.86 unique color give and restriction usage are supported
Author:
Fabrice Daugan

Constructor Summary
Givemana()
           
 
Method Summary
 int buildMdb(XmlParser.Node node, java.io.OutputStream out)
           Structure of stream : Data[size] idAction GIVE_MANA_BASIC/GIVE_MANA_MULTI[1] restriction usage test [...]
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Givemana

public Givemana()
Method Detail

buildMdb

public int buildMdb(XmlParser.Node node,
                    java.io.OutputStream out)
             throws java.io.IOException

Specified by:
buildMdb in interface XmlToMDB
Parameters:
node - the XML action structure
out - outputstream where the card structure will be saved.
Returns:
the amount of written action in the output.
Throws:
java.io.IOException


Copyright © 2003-2007 Magic-Project. All Rights Reserved.