ABSTRACT

As it becomes necessary to dispatch events about additional functionality, those event enumerations will easily be added here.

Because they’re both very short, we’ll now look at the two classes related to portal behavior:

While these two enumerations could have potentially been tucked away into the PlatformerEngine class, it makes more sense for them to be singled out. This is because there may be more functionality to add to portal behavior, such as the ability to move between two different portals on a single map. This framework allows for that extensibility.