From 6a064af9dc5552787306c0941f69d3d34e2a73e5 Mon Sep 17 00:00:00 2001 From: Ray Greenwell Date: Wed, 14 Jul 2010 19:38:01 +0000 Subject: [PATCH] Declare the return type for these functions. git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@953 ed5b42cb-e716-0410-a449-f6a68f950b19 --- src/as/com/threerings/miso/tile/AutoFringer.as | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/as/com/threerings/miso/tile/AutoFringer.as b/src/as/com/threerings/miso/tile/AutoFringer.as index fa2ac6f0..10419276 100644 --- a/src/as/com/threerings/miso/tile/AutoFringer.as +++ b/src/as/com/threerings/miso/tile/AutoFringer.as @@ -182,7 +182,7 @@ public class AutoFringer // There's no fringe with the same identifier, so we need to create the tile. var img :Bitmap = null; - getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) { + getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) :void { frTile.setImage(result); }); fringes.put(frTile, new WeakReference(frTile)); @@ -190,7 +190,7 @@ public class AutoFringer } protected function getTileImageHelper1 (img :Bitmap, hashValue :int, masks :Map, - fringers :Array, fringerIdx :int, callback :Function) + fringers :Array, fringerIdx :int, callback :Function) :void { var fringer :FringerRec = fringers[fringerIdx]; var indexes :Array = getFringeIndexes(fringer.bits); @@ -399,8 +399,7 @@ public class AutoFringer NORTHWEST | WEST | SOUTHWEST | SOUTH | SOUTHEAST | EAST | NORTHEAST, // all the directions! - NORTH | NORTHEAST | EAST | SOUTHEAST | - SOUTH | SOUTHWEST | WEST | NORTHWEST + NORTH | NORTHEAST | EAST | SOUTHEAST | SOUTH | SOUTHWEST | WEST | NORTHWEST ]; // A reverse map of the above array, for quickly looking up which tile @@ -444,4 +443,4 @@ class FringerRec return "[base=" + baseset + ", pri=" + priority + ", bits=" + bits.toString(16) + "]"; } -} \ No newline at end of file +}