kittykatattack / ga

The world's tiniest, cutest and funnest game engine
453 stars 85 forks source link

duplicate code removed. #36

Closed qsrahman closed 9 years ago

qsrahman commented 9 years ago

both upHandler and touchendHandler have exactly the same code. Also in updateDragAndDrop the condition for checking hit should be reversed to make the test a little faster :)

kittykatattack commented 9 years ago

Great! Yes, I had different upHandler and touchHandler code at some point... I think there was a reason for that which I've now forgotten :smile: