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

From Chilipedia
Jump to: navigation, search
(Homework)
(Concepts Taught)
Line 2: Line 2:
  
 
== Concepts Taught ==
 
== Concepts Taught ==
* Creating a class
+
* Creating a <code>class</code>
* public vs. private access
+
* <code>public</code> vs. <code>private</code> access
* static member variables
+
* <code>static</code> member variables
* constexpr variables
+
* <code>constexpr</code> variables
  
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==

Revision as of 00:22, 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