MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / setPause

Method setPause

source/game/StarUniverseClient.cpp:703–710  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

701}
702
703void UniverseClient::setPause(bool pause) {
704 m_pause = pause;
705
706 if (pause)
707 m_universeClock->stop();
708 else
709 m_universeClock->start();
710}
711
712void UniverseClient::handlePackets(List<PacketPtr> const& packets) {
713 for (auto const& packet : packets) {

Callers 1

updateRunningMethod · 0.45

Calls 2

stopMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected