bl791's picture
download
raw
1.72 kB
package mechanique;
/*
MechaniQue, the programming language for Interactive Fiction
Copyright (C) 2007 G.J.G.T. (Gabor) de Mooij
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation (highest version applies !!).
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
---MECHANIQUESOFT/GABOR DE MOOIJ
*/
import java.io.*;
import java.util.*;
import java.util.regex.*;
import java.applet.*;
import java.io.Serializable;
import java.lang.Math;
;
public class ExtendedLock extends AbstractLock
{
private boolean negative;
private String DestinationOnFalse;
public boolean unlock(KeyWalletInterface wallet)
{
if (this.code == null) return true; //this.applyNegative(true);
this.DestinationOnFalse = this.code;
if (this.line.getState()){
return true;
} else {
//System.out.println("going to set dest: "+this.DestinationOnFalse);
this.line.getStory().setDestination(this.DestinationOnFalse,true); //jump without stack -bugfix 4mei2007
return false;
}
}
}

Xet Storage Details

Size:
1.72 kB
·
Xet hash:
0e12bf173ee3e845f39297613c37214031acecf697ba52951353cb18bd6e1b35

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.