public static Coords decode( ParsedXML node, Game game ) {
public static Coords decode( ParsedXML node, IGame game ) {
    public static Coords decode( ParsedXML node, Game game ) {        // Did we get a null node?        if ( null == node ) {            throw new IllegalArgumentException( "The coords is null." );        }        // Make sure that the node is for a Coords object.        if ( !node.getName().equals( "coords" ) ) {            throw new IllegalStateException( "Not passed a coords node." );        }        // TODO : perform version checking.        // Get the hash code.        String hashStr = node.getAttribute( "hash" );        if ( null == hashStr ) {            throw new IllegalStateException                ( "Couldn't decode the coords node." );        }        // Try to pull the hash code from the string        int hash = 0;        try {            hash = Integer.parseInt( hashStr );        }        catch ( NumberFormatException exp ) {            throw new IllegalStateException                ( "Couldn't find coords for " + hashStr );        }        // Return the coords for this hash code.        return Coords.getFromHashCode( hash );    }