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

Method roots

source/game/StarPlant.cpp:638–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638List<Vec2I> Plant::roots() const {
639 return m_roots;
640}
641
642Vec2I Plant::primaryRoot() const {
643 return m_ceiling ? Vec2I(0, 1) : Vec2I(0, -1);

Callers 4

placePlantMethod · 0.45
clearTileEntitiesMethod · 0.45
reapplyBiomeMethod · 0.45
updateTileEntityTilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected