How did he do it?

Hi guys!
About two months ago I started to develop games for android. Just two days ago stumbled upon application Lightsaber Training 3D. Please tell me how it has a function of turning aksilerometrom.

Sensors Overview | Android Developers

Current Version Plugin Google Update

I think you need to get serious training if you really wanna develop such apps.