EZGame API breakup. Possibly a little more to come.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@205 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-02-22 03:44:12 +00:00
parent 8a2539683b
commit 9e8dce3619
7 changed files with 254 additions and 159 deletions
+3 -3
View File
@@ -19,19 +19,19 @@ public class CardDeck
}
}
_gameCtrl.setCollection(_deckName, deck);
_gameCtrl.collections.create(_deckName, deck);
}
public function dealToPlayer (
playerId :int, count :int, msgName :String) :void
{
// TODO: support the callback
_gameCtrl.dealFromCollection(_deckName, count, msgName, null, playerId);
_gameCtrl.collections.deal(_deckName, count, msgName, null, playerId);
}
public function dealToData (count :int, propName :String) :void
{
_gameCtrl.dealFromCollection(_deckName, count, propName, null);
_gameCtrl.collections.deal(_deckName, count, propName, null);
}
/** The game control. */