Investigate creating an interface for Door objects that have Output() and Update() functions.
I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)
Investigate creating an interface for Door objects that have Output() and Update() functions.
I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)
Investigate creating an interface for Door objects that have Output() and Update() functions.
I'm not sure if this would be useful or not, but it certainly would make things more like what go expects. (I didn't do it in door++ because it would have required me to make a base class. Seemed like more trouble then it was worth -- and Door class already knows how to output objects via the operator<<.)