MCPcopy 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
642Vec2I Plant::primaryRoot() const {
643 return m_ceiling ? Vec2I(0, 1) : Vec2I(0, -1);
644}
645
646bool Plant::ceiling() const {
647 return m_ceiling;

Callers 2

placePlantMethod · 0.80
reapplyBiomeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected