Game Development Reference
In-Depth Information
will continue on its way. Adding further interactions to the NPC is as simple as in-
creasing the size of the interactions array and creating the references.
Programming new interactions is a cinch, too! So long as we inherit from the correct
base class, we see that gameplay code programming is now reduced to developing
a library of query and interface classes. We no longer need to deal with the interac-
tions and sequencing of logic, just the concrete behaviors themselves. This is a big
win!
Search WWH ::




Custom Search