When player login/logout, resources will save and increase by passing time.
1. logout => save data.
2. login => load data and refresh resource, then rewrite back.
Merge remote-tracking branch 'origin/v0.2.2' into v0.2.2

Conflicts:
	Classes/MainScene.cpp