File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ whatsoever.
255255<aside name =" include " >
256256
257257Concretely, this means each source file for a subclass would only need a single
258- ` #include ` : the one for its base class.
258+ ` #include ` -- the one for its base class.
259259
260260</aside >
261261
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ all monsters of the same breed attack the same way.
2929
3030### The typical OOP answer
3131
32- Given the above game design, we fire up our text editor and start coding. According
32+ With that game design in mind , we fire up our text editor and start coding. According
3333to the design, a dragon <span name =" isa " >is a</span > kind of monster, a troll is
3434another kind, and so on with the other breeds. Thinking object-oriented, that
3535leads us to a ` Monster ` base class:
@@ -633,7 +633,7 @@ zombie one.
633633
634634 * * Looking up attributes is slower.* To get a given piece of data from a
635635 type object, we may now need to walk up the inheritance chain to find
636- the type that ultimately decides the value. If we're in
636+ the type that ultimately decides the value. If we're in
637637 performance-critical code, we may not want to spend time on this.
638638
639639 * ** Multiple inheritance:**
Original file line number Diff line number Diff line change 1+ 2014-07-26 - merge type object changes
2+ 2014-07-25 - print table of contents
3+ 2014-07-24 - email
4+ 2014-07-23 - ebook table of contents
5+ 2014-07-22 - layout subclass sandbox
6+ 2014-07-21 - fix #234 and merge subclass sandbox changes
172014-07-20 - email
282014-07-19 - start sketching cover illustration
392014-07-18 - more cover comps
You can’t perform that action at this time.
0 commit comments