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

Method SetScriptParams

Source/Objects/object.cpp:136–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134}
135
136void Object::SetScriptParams(const ScriptParamMap &spm) {
137 sp.SetParameterMap(spm);
138 UpdateScriptParams();
139}
140
141OGPalette *Object::GetPalette() {
142 DisplayError("Error", "Getting palette of Object that doesn't have one.");

Callers

nothing calls this directly

Calls 1

SetParameterMapMethod · 0.80

Tested by

no test coverage detected