Beginner C++ Game Programming Tutorial 6

From Chilipedia
Revision as of 00:29, 23 September 2019 by Ap (Talk | contribs) (Undo revision 1946 by Ap (talk))

Jump to: navigation, search

How to make member functions. That is all.

Concepts Taught

  • Declaring and defining member functions
  • Function return values

Video Timestamp Index

Coming soon!

Homework

There are two levels of difficulty.

  1. Create a function(s) to limit the targeting box to within the screen drawing region.
  2. Same as above, but you are not allowed to use the x_mobile and y_mobile member variables directly in the bodies of the functions.

The solution is given in this video.

See also