Difference between revisions of "Intermediate C++ Game Programming Tutorial 25"

From Chilipedia
Jump to: navigation, search
(Created page with "Function pointers allow you to store and change what function is to be called dynamically at runtime. Combine that with containers to have collections of actions/behaviors tha...")
 
Line 1: Line 1:
Function pointers allow you to store and change what function is to be called dynamically at runtime. Combine that with containers to have collections of actions/behaviors that can be selected from, and then jam in the power std::function to allow you to wrap up pretty much any kind of callable thing and bring them together in one container. Groovy.
+
Function pointers allow you to store and change what function is to be called dynamically at runtime. Combine that with containers to have collections of actions/behaviors that can be selected from, and then jam in the power <code>std::function</code> to allow you to wrap up pretty much any kind of callable thing and bring them together in one container. Groovy.
  
 
== Topics Covered ==
 
== Topics Covered ==

Revision as of 15:40, 6 April 2018

Function pointers allow you to store and change what function is to be called dynamically at runtime. Combine that with containers to have collections of actions/behaviors that can be selected from, and then jam in the power std::function to allow you to wrap up pretty much any kind of callable thing and bring them together in one container. Groovy.

Topics Covered

  • stff

Bonus Video

  • more stuff

Video Timestamp Index

Homework Assignment

Gonna be hard m8

See also