We got more sinkin' up to do man. Yeah man, it's mighty groovy.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@178 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-02-11 03:33:04 +00:00
parent 75b34c6bf6
commit 62808c9fc6
4 changed files with 27 additions and 9 deletions
@@ -143,14 +143,6 @@ public class ParlorDirector extends BasicDirector
_pendingInvites.clear();
}
// documentation inherited
override protected function fetchServices (client :Client) :void
{
// get a handle on our parlor services
_pservice = (client.requireService(ParlorService) as ParlorService);
super.fetchServices(client);
}
// documentation inherited from interface
public function gameIsReady (gameOid :int) :void
{
@@ -234,6 +226,20 @@ public class ParlorDirector extends BasicDirector
_pendingInvites.remove(invite.inviteId);
}
// from BasicDirector
override protected function registerServices (client :Client) :void
{
client.addServiceGroup(ParlorCodes.PARLOR_GROUP);
}
// from BasicDirector
override protected function fetchServices (client :Client) :void
{
// get a handle on our parlor services
_pservice = (client.requireService(ParlorService) as ParlorService);
super.fetchServices(client);
}
/** An active parlor context. */
protected var _pctx :ParlorContext;