add more methods to support gui
Merge branch 'Level-Editor' of https://github.com/Tadimsky/vooga into Level-Editor