MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SendInRabbot

Method SendInRabbot

Source/Editors/map_editor.cpp:518–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

516}
517
518void MapEditor::SendInRabbot() {
519 LOG_ASSERT(state_ != MapEditor::kInGame);
520 LOGI << "Requesting player-controlled mode..." << std::endl;
521 scenegraph_->UpdatePhysicsTransforms();
522 state_ = MapEditor::kInGame;
523 LOGI << "Request successful..." << std::endl;
524}
525
526void MapEditor::StopRabbot(bool handle_gui) {
527 LOG_ASSERT(state_ == MapEditor::kInGame);

Callers 2

LoadLevelMethod · 0.80

Calls 1

Tested by

no test coverage detected