Moron Test – Scene Specific Function and Helper Functions

with in our “check(icon, indx)” function we use – scene[level].main(icon, indx); inorder to acess scence specific insructions. inorder to acess these instructions we need to know three vital pieces of information. the first on which is the level, the icon that was clicked on and the index of said icon which is passed onto main in the second js file in the second js file, scences.js, main takes these values and if there is scence specific instructions they will take place.

Join the Conversation

1 Comment

Leave a comment

Your email address will not be published. Required fields are marked *