This example is supposed to simulate something a bit like the Steam API, where you're given a pointer to a collection of virtual methods.