From 2766a6c1f9ec20a9c993f0830dbbc775f59cf577 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 31 May 2006 01:16:19 +0000 Subject: [PATCH] Added a toString(). git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4160 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- src/as/com/threerings/whirled/spot/data/Portal.as | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/as/com/threerings/whirled/spot/data/Portal.as b/src/as/com/threerings/whirled/spot/data/Portal.as index a56dbad39..cc0b87a9c 100644 --- a/src/as/com/threerings/whirled/spot/data/Portal.as +++ b/src/as/com/threerings/whirled/spot/data/Portal.as @@ -129,5 +129,11 @@ public class Portal { return portalId; } + + public function toString () :String + { + return "Portal[id=" + portalId + ", destScene=" + targetSceneId + + ", loc=" + loc + "]."; + } } }