I think this depencency on Stage is obsolete now.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5040 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -21,8 +21,6 @@
|
||||
|
||||
package com.threerings.presents.client {
|
||||
|
||||
import flash.display.Stage;
|
||||
|
||||
import flash.events.EventDispatcher;
|
||||
import flash.events.TimerEvent;
|
||||
|
||||
@@ -30,7 +28,6 @@ import flash.utils.Timer;
|
||||
|
||||
import com.threerings.util.Log;
|
||||
import com.threerings.util.MethodQueue;
|
||||
import com.threerings.util.ObserverList;
|
||||
|
||||
import com.threerings.presents.client.InvocationService_ConfirmListener;
|
||||
import com.threerings.presents.data.ClientObject;
|
||||
@@ -51,10 +48,9 @@ public class Client extends EventDispatcher
|
||||
|
||||
private static const log :Log = Log.getLog(Client);
|
||||
|
||||
public function Client (creds :Credentials, stage :Stage)
|
||||
public function Client (creds :Credentials)
|
||||
{
|
||||
_creds = creds;
|
||||
_stage = stage;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -111,14 +107,6 @@ public class Client extends EventDispatcher
|
||||
MethodQueue.callLater(fn, args);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return the Stage object we're living in.
|
||||
*/
|
||||
public function getStage () :Stage
|
||||
{
|
||||
return _stage;
|
||||
}
|
||||
|
||||
public function getHostname () :String
|
||||
{
|
||||
return _hostname;
|
||||
@@ -442,9 +430,6 @@ public class Client extends EventDispatcher
|
||||
/** The credentials we used to authenticate with the server. */
|
||||
protected var _creds :Credentials;
|
||||
|
||||
/** The stage upon which our client runs. */
|
||||
protected var _stage :Stage;
|
||||
|
||||
/** The version string reported to the server at auth time. */
|
||||
protected var _version :String = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user