Difference between revisions of "Beginner C++ Game Programming Tutorial 9"

From Chilipedia
Jump to: navigation, search
(Homework)
(Homework)
Line 11: Line 11:
  
 
== Homework ==
 
== 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!).
+
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 a future video.
 
The solution is given in a future video.

Revision as of 00:21, 18 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
  • public vs. private access
  • static member variables
  • constexpr variables

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 a future video.

Downloads

See also