Difference between revisions of "Beginner C++ Game Programming Tutorial 9"
From Chilipedia
(→Concepts Taught) |
(→Homework) |
||
| Line 13: | Line 13: | ||
Make the Dude entity into a <code>class</code> as well. It's up to you to decide what member functions you should give it. Might want to add another function to <code>Poo</code> as well (hint hint hint!). | Make the Dude entity into a <code>class</code> as well. It's up to you to decide what member functions you should give it. Might want to add another function to <code>Poo</code> as well (hint hint hint!). | ||
| − | The solution is given in | + | The solution is given in [https://youtu.be/b4FjV2R9jy0 this video]. |
== Downloads == | == Downloads == | ||
Revision as of 19:20, 25 September 2016
In this video we make our first class and Chili teaches us about the birds and the bees and the static constexpr.
Concepts Taught
- Creating a
class -
publicvs.privateaccess -
staticmember variables -
constexprvariables
Video Timestamp Index
Coming soon!
Homework
Make the Dude entity into a class as well. It's up to you to decide what member functions you should give it. Might want to add another function to Poo as well (hint hint hint!).
The solution is given in this video.