()
| 1 | //Initialize |
| 2 | function init(){ |
| 3 | //Character Intitialization |
| 4 | objImage = document.getElementById("charr"); |
| 5 | |
| 6 | // Shoot Initialization |
| 7 | s = document.getElementById('shoot'); |
| 8 | |
| 9 | |
| 10 | leftl = document.getElementById("lleg"); |
| 11 | rightl = document.getElementById("rleg"); |
| 12 | bod = document.getElementById("body"); |
| 13 | |
| 14 | // Character position |
| 15 | objImage.style.position='relative'; |
| 16 | objImage.style.left='0px'; |
| 17 | objImage.style.top='0px'; |
| 18 | |
| 19 | //Shoot position |
| 20 | s.style.position='relative'; |
| 21 | s.style.left='0px'; |
| 22 | s.style.top='0px'; |
| 23 | } |
| 24 | |
| 25 | // Move audio{ |
| 26 | function moveAudio(){ |
nothing calls this directly
no outgoing calls
no test coverage detected