| 31 | static int const PlantAdjustmentLimit = 2; |
| 32 | |
| 33 | LiquidWorld::LiquidWorld(WorldServer* world) { |
| 34 | m_worldServer = world; |
| 35 | auto& root = Root::singleton(); |
| 36 | m_liquidsDatabase = root.liquidsDatabase(); |
| 37 | m_materialDatabase = root.materialDatabase(); |
| 38 | } |
| 39 | |
| 40 | Vec2I LiquidWorld::uniqueLocation(Vec2I const& location) const { |
| 41 | return m_worldServer->geometry().xwrap(location); |
nothing calls this directly
no test coverage detected