add client
This commit is contained in:
@@ -19,15 +19,10 @@ class Server {
|
||||
|
||||
void Update();
|
||||
|
||||
void UpdateState(const std::shared_ptr<IServerState>& a_State) {
|
||||
m_State = a_State;
|
||||
m_State->SetServer(this);
|
||||
}
|
||||
void UpdateState(const std::shared_ptr<IServerState>& a_State);
|
||||
|
||||
private:
|
||||
void Update(float a_Delta) {
|
||||
m_State->Update(a_Delta);
|
||||
}
|
||||
void Update(float a_Delta);
|
||||
|
||||
friend class IServerState;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user