Introduce yourselves!
Icebreaker: What’s your favorite Mobile game?
Games are inherently event-driven.
An event is anything that happens that a game object may need to take note of.
What are some examples of game engine events?
Generally, a game engine must: A) Notify interested game objects, and B) Arrange for those game objects to respond. This is called event handling.
void Explosion::Update()
...
if (explosion_went_off) then
// Get list of all Objects in range.
= WM.getObjectsInRange(radius)
ObjectList list
// Have each object react to explosion.
for (int i = 0; i < list.getCount(); i++)
[i] -> onExplosion()
list
for
end ...
if end
onExplosion()
method happen (i.e., during static
compilation, during linking, or during runtime)? Does this use static
typing or dynamic typing?Each person in a group should submit their answers:
https://wpi.qualtrics.com/jfe/form/SV_8wPP93kWb5pt1Ea
Make sure to include the names of all group members.
Happy event-ing!
– Mark