No longer need to pass a MessageManager when constructing the ChatDirector.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@979 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -127,7 +127,7 @@ public class MiCasaClient
|
|||||||
_occdir = new OccupantDirector(_ctx);
|
_occdir = new OccupantDirector(_ctx);
|
||||||
_pardtr = new ParlorDirector(_ctx);
|
_pardtr = new ParlorDirector(_ctx);
|
||||||
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
|
_msgmgr = new MessageManager(MESSAGE_MANAGER_PREFIX);
|
||||||
_chatdir = new ChatDirector(_ctx, _msgmgr, null);
|
_chatdir = new ChatDirector(_ctx, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -176,6 +176,11 @@ public class MiCasaClient
|
|||||||
return _chatdir;
|
return _chatdir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MessageManager getMessageManager ()
|
||||||
|
{
|
||||||
|
return _msgmgr;
|
||||||
|
}
|
||||||
|
|
||||||
public ParlorDirector getParlorDirector ()
|
public ParlorDirector getParlorDirector ()
|
||||||
{
|
{
|
||||||
return _pardtr;
|
return _pardtr;
|
||||||
@@ -196,11 +201,6 @@ public class MiCasaClient
|
|||||||
{
|
{
|
||||||
return _frame;
|
return _frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageManager getMessageManager ()
|
|
||||||
{
|
|
||||||
return _msgmgr;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected MiCasaContext _ctx;
|
protected MiCasaContext _ctx;
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ public class SimpleClient
|
|||||||
_locdir = new LocationDirector(_ctx);
|
_locdir = new LocationDirector(_ctx);
|
||||||
_occdir = new OccupantDirector(_ctx);
|
_occdir = new OccupantDirector(_ctx);
|
||||||
_pardtr = new ParlorDirector(_ctx);
|
_pardtr = new ParlorDirector(_ctx);
|
||||||
_chatdir = new ChatDirector(_ctx, _msgmgr, null);
|
_chatdir = new ChatDirector(_ctx, null);
|
||||||
|
|
||||||
// keep this for later
|
// keep this for later
|
||||||
_frame = frame;
|
_frame = frame;
|
||||||
@@ -148,6 +148,11 @@ public class SimpleClient
|
|||||||
return _chatdir;
|
return _chatdir;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public MessageManager getMessageManager ()
|
||||||
|
{
|
||||||
|
return _msgmgr;
|
||||||
|
}
|
||||||
|
|
||||||
public void setPlaceView (PlaceView view)
|
public void setPlaceView (PlaceView view)
|
||||||
{
|
{
|
||||||
// stick the place view into our frame
|
// stick the place view into our frame
|
||||||
@@ -163,11 +168,6 @@ public class SimpleClient
|
|||||||
{
|
{
|
||||||
return (MiCasaFrame)_frame;
|
return (MiCasaFrame)_frame;
|
||||||
}
|
}
|
||||||
|
|
||||||
public MessageManager getMessageManager ()
|
|
||||||
{
|
|
||||||
return _msgmgr;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected MiCasaContext _ctx;
|
protected MiCasaContext _ctx;
|
||||||
|
|||||||
Reference in New Issue
Block a user