Will onRobotDeath event miss due to skipped turns?

Jump to navigation Jump to search
Revision as of 29 December 2017 at 17:17.
The highlighted comment was created in this revision.

Will onRobotDeath event miss due to skipped turns?

onRobotDeath is crucial when dealing with multiple enemies. If this event were able to lost, it will be hard to guess that information back.

    Xor (talk)16:47, 29 December 2017
    If I understood correctly skipped turns happen when the bots passes the time limit. I think, after this event no actions are made(setAhead( ), setFire( etc.) and no events are called after it. I am 99 percent sure that if you call onRobotDeath first no skipped turns will harm it.
    Even if it stopped everything you did by not updating the robot, static variables wouldn't change.
      Dsekercioglu (talk)18:17, 29 December 2017