GOOC - Game Oriented Object C

GOOC - Game Oriented Object C

Next: Arrays, Previous: Defining Your GOOL Object, Up: Top
[Contents]

14. Event System

14. Event System

One of the key points of interaction between game objects is through the event system. It allows one object to send context and data to another, which shall (or shall not) then react accordingly.

There are three ways to send events (send, broadcast, cascade) and two methods of handling a received event (interrupt table and event block).