Incorporating an Explosion into an OO Framework

Опубликовано: 31 Июль 2026
на канале: Brian MalloyOn
152
1

This video describes one approach toward incorporating an explosion into a 2D, Data-driven, OO video game framework. The basic idea is that we tell a sprite to go "explode" and it knows how to explode itself. Included in the video is the notion of polymorphism, and how to incorporate new functionality into an inheritance hierarchy.

You can download the code used in this video at:

http://people.cs.clemson.edu/~malloy/...