LeoDaFinchy / dodecahedra

A marching-cubes-like algorithm, developing while exploring more complex javascript applications, WebGL, and Three.js
MIT License
1 stars 0 forks source link

Create logic events system #3

Open LeoDaFinchy opened 11 years ago

LeoDaFinchy commented 11 years ago

There should be a system that can perform logical chains of events. For example, an event node that waits to receive event A and event B, then trigger event C. This could be useful for the module loader (when both module A and B are loaded, it is safe to load module C)

LeoDaFinchy commented 11 years ago

This can possibly be performed using jQuery deferred objects. http://api.jquery.com/category/deferred-object/ If so, a custom system may not be needed (or can be built on top)