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

From Chilipedia
Jump to: navigation, search
(Created page with "References are sweet because they let us control our shit from far away. Remember the days when we had to actually get up to change the channel on the TV? Remember TV? Fuck th...")
(No difference)

Revision as of 12:53, 20 October 2016

References are sweet because they let us control our shit from far away. Remember the days when we had to actually get up to change the channel on the TV? Remember TV? Fuck that shit! Also, const correctness is for big dick gangstas that don't give any fucks.

Concepts Taught

  • References
  • Passing by reference
  • Const correctness (redux)

Video Timestamp Index

Coming soon!

Homework

  1. Move the drawing code for Dude from Game into the Dude class.
  2. Make a second DrawRect function that takes a single point (top left corner) and the dimensions as parameters.

The solution is given in a future video.

Downloads

See also