refactored client code. it now uses IClient and IServer and

has a CServerProxy, making it's design similar to the server
code.
This commit is contained in:
crs
2002-07-10 20:18:32 +00:00
parent df6748f669
commit 710e1bdd47
15 changed files with 1207 additions and 669 deletions

View File

@@ -29,7 +29,7 @@ CClientProxy1_0::~CClientProxy1_0()
// do nothing
}
void
bool
CClientProxy1_0::open()
{
// send request
@@ -55,6 +55,8 @@ CClientProxy1_0::open()
// handle reply
recvInfo(false);
return true;
}
void
@@ -258,6 +260,12 @@ CClientProxy1_0::getCenter(SInt32& x, SInt32& y) const
y = m_info.m_my;
}
void
CClientProxy1_0::getMousePos(SInt32&, SInt32&) const
{
assert(0 && "shouldn't be called");
}
SInt32
CClientProxy1_0::getJumpZoneSize() const
{