Sarbian changed the topic of #kspmodding to: Welcome to #kspmodding - the channel for discussing, and learning about, modding Kerbal Space Program. Code of Conduct: https://git.io/vSQh6 | Always provide logs. | *** PSA: https://kerbalspaceprogram.com/api/index.htm | Someone is writting a Phd dissertation on KSP modding please fill out this survey https://goo.gl/forms/1vrkPYH4az8l32sb2 - I have met him and it s legit
Orum has quit [Ping timeout: 198 seconds]
VanDisaster has joined #kspmodding
kmath has quit [Remote host closed the connection]
kmath has joined #kspmodding
blowfish has joined #kspmodding
<taniwha> SilverFox: needs to be instance, not static
<taniwha> (afaik)
<SilverFox> yeah, which kinda sucks
<SilverFox> this totes isn't about ksp, but whatevs, yall can still help. I am modelling a heart at a basic level right now, and the amount of blood in comes from the veins, and the amount out is pushed through the aorta, what would be a good method of getting the blood_volume coming out from the heart, from the aorta's perspective? just like, Heart.output kind of deal with output being a static variable?
<taniwha> well, one would hope that Heart.output == Heart.input, otherwise you have a leak somewhere
<SilverFox> the aorta doesn't care about heart input, only heart output
<SilverFox> the right atrium is concerned about the input
<taniwha> wrong
<taniwha> /both/ sides of the heart do input
<taniwha> one pumps to the body, the other to the lungs
<SilverFox> I'm aware
<SilverFox> however the lungs don't exist yet
<taniwha> it's upper that does input and lower that does output
<SilverFox> I'm working my way up
<SilverFox> not tryna kill myself with feature creep and all that jazz
<SilverFox> heart has blood go in, heart has blood go out
<SilverFox> I need it to do that first
<taniwha> anyway, amount pumped per beat is simply volfull-volempty
<SilverFox> that's not what I'm asking
<SilverFox> what I'm asking is for a good coding practice for getting the variable for the output, from the aorta's perspective
<SilverFox> so im in the class of Aorta, rather than Heart
<taniwha> from the size of the aorta, of course
<taniwha> er, no, from the heart
<SilverFox> coding practice, not biology
<taniwha> you really don't get it, do you?
<SilverFox> maybe you don't get what I'm saying
<taniwha> the whole point of OO programming is to model what's there (in this case, biology)
<SilverFox> and there's good and bad programming, right?
<SilverFox> I'm trying to avoid bad programming practices
<SilverFox> so I'm curious what is the best practice to use to poll the input to a thing, from another thing
<taniwha> and by plugging your ears and saying "nonono", you're jumping head first into them
<SilverFox> should I update it from the heart, or from the aorta polling the heart's class?
<SilverFox> I could do it either way, but one is probably more correct than the other
<taniwha> I'd say from the heart: heart pumps blood into things, things direct blood to other things, other things direct blood back to heart
<taniwha> thus all things (heart is just a thing) do only output
<SilverFox> either in Aorta class I could be like, "input = Heart.output" or in the heart's class "method UpdateAorta(){Aorta.input = output;}"
<SilverFox> that kinda deal
<SilverFox> if I did it within the Aorta class, that would mean I could do updates on the Aorta code within having to change the heart code, right? Which sounds like a good thing
<SilverFox> this is sorta like, do I follow the train forwards or backwards
lamont has quit [Remote host closed the connection]
lamont has joined #kspmodding
technicalfool_ is now known as tfsleep
Daz has quit [Ping timeout: 186 seconds]
blowfish has quit [Quit: Leaving]
Orum has joined #kspmodding
tfsleep has quit [Ping timeout: 182 seconds]
hashashin has quit [Ping timeout: 182 seconds]
Orum has quit [Ping timeout: 198 seconds]
Ezriilc has joined #kspmodding
lamont has quit [Remote host closed the connection]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 182 seconds]
lamont has joined #kspmodding
lamont_ has joined #kspmodding
lamont has quit [Ping timeout: 383 seconds]
lamont_ has quit [Ping timeout: 383 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 198 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 186 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 182 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 207 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 207 seconds]
lamont has joined #kspmodding
lamont_ has joined #kspmodding
lamont has quit [Ping timeout: 383 seconds]
lamont_ is now known as lamont
lamont has quit [Ping timeout: 186 seconds]
lamont has joined #kspmodding
lamont has quit [Ping timeout: 182 seconds]
lamont has joined #kspmodding
Daz has joined #kspmodding
lamont has quit [Ping timeout: 182 seconds]
lamont has joined #kspmodding
VanDisaster has quit [Ping timeout: 198 seconds]
VanDisaster has joined #kspmodding
ferram4_ has joined #kspmodding
ferram4 has quit [Read error: -0x1: UNKNOWN ERROR CODE (0001)]
VanDisaster has quit [Ping timeout: 207 seconds]
VanDisaster has joined #kspmodding
hashashin has joined #kspmodding