OnObjectTouch method of the
engine class, we want to start a new game when the PLAY or RESET button are hit. If the EXIT button was hit, we want to end the game. And if an atom element got hit, we want to start a chain reaction.
Selectstatement with a call to the object's
Class engine Extends ftEngine Method OnObjectTouch:Int(obj:ftObject, touchId:Int) Select obj.GetTag()
Casestatement with the game's
grpAtomconstant. This identifies an atom element.
If obj.GetTransitionCount() = 0 Then
90degrees to its current angle and with a transition ...