Closed AndreasRoither closed 6 years ago
Moved myPlayer.killplayer function call from bomb.draw to bomb.makeExplosion since that one gets called only once -> a bomb with 2 Length results in 9 funciton calls now, instead of a function call every 16ms
myPlayer.killPlayer is called everytime the bomb flames are drawn which is too much