Checkpoint.

Never in my life have I spent so much time debugging so little.
I think the flash player is full of bugs, I've learned to just run
everything two or three times and chase the error that happens the most. Fun!


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3929 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Ray Greenwell
2006-03-09 02:55:07 +00:00
parent 15cf89770f
commit 04255b383b
15 changed files with 101 additions and 41 deletions
+7 -8
View File
@@ -1,11 +1,13 @@
package com.threerings.util {
import com.threerings.util.Equalable;
import com.threerings.io.ObjectInputStream;
import com.threerings.io.ObjectOutputStream;
import com.threerings.io.Streamable;
public class Name extends Object
implements Streamable
implements Equalable, Streamable
{
public function Name (name :String = "")
{
@@ -35,16 +37,13 @@ public class Name extends Object
return _name;
}
// TODO: needed? I'd think so. Maybe we need to create OOObject
// that all our classes can extend that define a reasonable
// equals().
public function equals (other :Name) :Boolean
// documentation inherited from interface Equalable
public function equals (other :Object) :Boolean
{
return getNormal() === other.getNormal();
return (other is Name) &&
(getNormal() === (other as Name).getNormal());
}
// TODO: comparable?
// documentation inherited from interface Streamable
public function writeObject (out :ObjectOutputStream) :void
//throws IOError