Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenStarbound/OpenStarbound
/ primaryRoot
Method
primaryRoot
source/game/StarPlant.cpp:642–644 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
640
}
641
642
Vec2I Plant::primaryRoot() const {
643
return m_ceiling ? Vec2I(0, 1) : Vec2I(0, -1);
644
}
645
646
bool Plant::ceiling() const {
647
return m_ceiling;
Callers
2
placePlant
Method · 0.80
reapplyBiome
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected