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

Method sensibleDefaults

source/game/StarActorMovementController.cpp:83–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81}
82
83ActorMovementParameters ActorMovementParameters::sensibleDefaults() {
84 return ActorMovementParameters(Root::singleton().assets()->json("/default_actor_movement.config").toObject());
85}
86
87ActorMovementParameters::ActorMovementParameters(Json const& config) {
88 if (config.isNull())

Callers

nothing calls this directly

Calls 5

singletonClass · 0.85
toObjectMethod · 0.80
jsonMethod · 0.80
assetsMethod · 0.80

Tested by

no test coverage detected