void CSynAoiDimObj::SetStealth( float fStealth ) { if (GetStealth() == fStealth) { return; } ModifyVisibilityProperty(m_fSize,fStealth); m_fStealth = fStealth; }
Command_st PlayerInputListener::GetNextCommand() { Command_st oCommand; glfwLockMutex(m_oInputMutex); // Set the inputs oCommand.cMoveDirection = GetMoveDirection(); oCommand.bStealth = GetStealth(); oCommand.fZ = m_oPlayer.GetZ() + static_cast<float>(m_dRotationAxis); // Get the most up-to-date player Z value glfwUnlockMutex(m_oInputMutex); return oCommand; }