CompositionOfAir class & LifeSupport Function #538
bevans2000
started this conversation in
General
Replies: 1 comment 2 replies
-
For now, CompositionOfAir would perform all the atmospheric calculation for each habitable buildings of a settlement. Yes perhaps we can have each building calculate its own atmosphere instead. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@mokun I've noticed that the CompositionOfAir class is actually implementing a capability of the Building class. The Building should be responsible for it's own composition stats. Plus doesn't the calculation overlap with the role of the LifeSupport function?
If a Building has no LifeSupport function then it has no air composition. Only inhabitable Buildings can have an Air Composition I think.
So I think we may have some expensive overlapping logic.
Beta Was this translation helpful? Give feedback.
All reactions