Merge pull request #2 from LiuJack/master

statemachine
Make it able to compile
Update MovingEntity and Player
PlayerManager completed, update MovingEntity
little change