Fix bug. The game now can be use in another libraries, also convert this to C#. That will be a nice idea, but I want to convert it co Cocos2dx