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

Method GetDesc

Source/Objects/itemobject.cpp:840–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840void ItemObject::GetDesc(EntityDescription& desc) const {
841 Object::GetDesc(desc);
842 desc.AddString(EDF_FILE_PATH, obj_file);
843 color_tint_component_.AddToDescription(desc);
844}
845
846void ItemObject::StickingCollisionOccured(const vec3& pos, int vert, const CollideInfo& collide_info) {
847 sticking_collision_occured_ = true;

Callers

nothing calls this directly

Calls 2

AddToDescriptionMethod · 0.80
AddStringMethod · 0.45

Tested by

no test coverage detected