pass idx to new Agent
Merge branch 'master' of https://github.com/erichoco/Tiki-King

Conflicts:
	js/main.js