MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / setObject

Method setObject

game/ui/components/equipscreen.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37void EquipmentPaperDoll::setObject(sp<EquippableObject> newObject)
38{
39 this->object = newObject;
40 this->setDirty();
41}
42
43void EquipmentPaperDoll::setHighlightColours(const std::array<Colour, 2> &colours)
44{

Callers 2

updateFirstAgentMethod · 0.80
setSelectedVehicleMethod · 0.80

Calls 1

setDirtyMethod · 0.80

Tested by

no test coverage detected