/*************************************************************************** clientsim.h - Client-side networked simulation ------------------- begin : di jan 14 2003 copyright : (C) 2003 by CJP email : cornware-cjp@users.sourceforge.net ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef CLIENTSIM_H #define CLIENTSIM_H #include "simulation.h" #include "clientnet.h" #include "gamecore.h" #include "hiscore.h" /** *@author CJP */ class CClientSim : public CSimulation { public: CClientSim(CGameCore *gc, CClientNet *net); ~CClientSim(); CString getTrackname(CGameCore::LoadStatusCallback callBackFun); virtual bool update(); CHiscore getHiscore() {return m_Hiscore;} protected: CClientNet *m_Net; CGameCore *m_GameCore; float m_PreviousTime; CHiscore m_Hiscore; }; #endif