#4 Interface for Output, Update

Відкрити
2 роки тому відкрито stevet · 0 коментарів
Steve Thielemann відкоментовано 2 роки тому

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<<.)
Підпишіться щоб приєднатися до обговорення.
Етап відсутній
Немає відповідального
1 учасників
Завантажується...
Скасувати
Зберегти
Тут ще немає жодного вмісту.