thomas-alrek / JSGame

JavaScript + Canvas 2D game engine
GNU General Public License v2.0
56 stars 6 forks source link

Implement method for attachking pre and post render/tick functions #3

Closed thomas-alrek closed 8 years ago

thomas-alrek commented 8 years ago

It should be possible to attach callback functions to fun before and after each tick and render. This would prevent us having to do everything inside setInterval functions

thomas-alrek commented 8 years ago

Fixed in commit ca39e1ab919fa3affc8632cdf82d62f7c0d36eee