Triple Entendre (triple_entendre) wrote,
Triple Entendre
triple_entendre

  • Location:
  • Mood:

Extremely Rhetorical Question

Ah, the joys of editing others' code.

In an scheduled-event-driven game engine, which is better:

1) scheduling an event to occur once, when it's time for an object to explode, which explodes the object, or
2) scheduling an event to occur every 1/10 of a second, which checks to see if it's time for the object to explode, and then explodes it if so


*headdesk*
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 13 comments