Making callEZCode() 'internal' booched it for WorldGameControl.

Made it protected, added a second function for 'friend' access.
We could use a custom namespace for this, too.


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@206 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-02-22 03:53:44 +00:00
parent 9e8dce3619
commit 9eedd5678c
3 changed files with 16 additions and 6 deletions
@@ -37,7 +37,7 @@ public class CollectionsControl extends SubControl
*/
public function merge (srcColl :String, intoColl :String) :void
{
_ctrl.callEZCode("mergeCollection_v1", srcColl, intoColl);
_ctrl.callEZCodeFriend("mergeCollection_v1", srcColl, intoColl);
}
/**
@@ -93,7 +93,7 @@ public class CollectionsControl extends SubControl
protected function populate (
collName :String, values :Array, clearExisting :Boolean) :void
{
_ctrl.callEZCode("populateCollection_v1", collName, values, clearExisting);
_ctrl.callEZCodeFriend("populateCollection_v1", collName, values, clearExisting);
}
/**
@@ -103,7 +103,7 @@ public class CollectionsControl extends SubControl
collName :String, count :int, msgOrPropName :String, playerId :int,
consume :Boolean, callback :Function) :void
{
_ctrl.callEZCode("getFromCollection_v2", collName, count, msgOrPropName,
_ctrl.callEZCodeFriend("getFromCollection_v2", collName, count, msgOrPropName,
playerId, consume, callback);
}
}