Renaming pos to origin.
Renaming "openMenu" to "toggleMenu"
Renaming ticks to frames internally.
Resizing test arena ratio to 16:9 from 3:4.
Renaming detectPlayerCollision, to detectCollision.
Fixing typo.
Correcting type.