added getLocalPlayerIndex method to IMasterController