Created
August 31, 2015 01:18
-
-
Save williamngan/c9cfd3ea49880e5f400c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
// Previous code omitted ... | |
bot = { | |
animate: function(time, fs, context) { | |
// Previous code omitted ... | |
}, | |
onMouseAction: function(type, x, y, evt) { | |
if (type == "move") { | |
another.set( x, y ) | |
} | |
} | |
} | |
// Previous code omitted ... | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment