Warlock::Warlock(GraphicsEngine* ge, GameNetwork* net, ServerInfo server) { this->mGe = ge; this->mNumberOfPlayers = 0; this->mNumberOfRounds = 3; this->mGameMode = server.GetGameMode(); this->mNet = net; this->mServerInfo = server; this->mTimeElapsed = 0.0f; this->mProgressBars = NULL; }
CaptureTheFlag::CaptureTheFlag(GraphicsEngine* ge, GameNetwork* net, ServerInfo server) { this->mGe = ge; this->mNumberOfPlayers = 0; this->mNumberOfRounds = 3; this->mGameMode = server.GetGameMode(); this->mNet = net; this->mServerInfo = server; this->mTimeElapsed = 0.0f; this->mTeam = (int)TEAM::NOTEAM; this->mEnemyFlag = NULL; this->mFriendlyFlag = NULL; this->mRedFlag = NULL; this->mBlueFlag = NULL; this->mRedScore = 0; this->mBlueScore = 0; this->mRedScoreText = NULL; this->mBlueScoreText = NULL; this->mIntermediateText = NULL; }