Fixed up a number of TODOs; created a new Wrapped interface to simplify
auto-unwrapping. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4286 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -8,7 +8,7 @@ import com.threerings.io.Streamable;
|
||||
* Equivalent to java.lang.Boolean.
|
||||
*/
|
||||
public class langBoolean
|
||||
implements Equalable, Streamable
|
||||
implements Equalable, Streamable, Wrapped
|
||||
{
|
||||
public var value :Boolean;
|
||||
|
||||
@@ -40,5 +40,11 @@ public class langBoolean
|
||||
{
|
||||
value = ins.readBoolean();
|
||||
}
|
||||
|
||||
// from Wrapped
|
||||
public function unwrap () :Object
|
||||
{
|
||||
return value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user