Commit Graph

2 Commits

Author SHA1 Message Date
Xavi Artigas 1e380eace9 Reorganize inheritance example
Added circle to illustrate shape interface
Removed shape interface from square, since it inherits from rectangle.
Removed square private data and use its parent's data through the public accessors.
Do not overwrite rectangle's accessors in square, only define the new side.
Removed class cons/destructors which are not used (tutorial is complex enough)
Removed color property from interface (tutorial is complex enough)
2017-11-15 16:02:37 +01:00
Xavi Artigas 4380baece8 Split eo-classes in two: classes and inherit
This simplifies the first tutorial (classes).
2017-11-15 11:55:04 +01:00