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

Method setHandDrawables

source/game/StarHumanoid.cpp:664–666  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

662}
663
664void Humanoid::setHandDrawables(ToolHand hand, List<Drawable> drawables) {
665 const_cast<HandDrawingInfo&>(getHand(hand)).itemDrawables = std::move(drawables);
666}
667
668void Humanoid::setHandNonRotatedDrawables(ToolHand hand, List<Drawable> drawables) {
669 const_cast<HandDrawingInfo&>(getHand(hand)).nonRotatedDrawables = std::move(drawables);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected