(e)
| 11 | keys[e.key]=true; |
| 12 | } |
| 13 | function keyUp(e){ |
| 14 | e.preventDefault(); |
| 15 | keys[e.key]=false; |
| 16 | } |
| 17 | function isCollide(a,b){ |
| 18 | aRect=a.getBoundingClientRect(); |
| 19 | bRect=b.getBoundingClientRect(); |
nothing calls this directly
no outgoing calls
no test coverage detected