#4 Interface for Output, Update

Öppen
öppnade 2 år sedan av stevet · 0 kommentarer

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<<.)
Logga in för att delta i denna konversation.
Ingen Milsten
Ingen förvärvare
1 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.