Page 1 of 1

test Active player in multipleActive State

Posted: 17 March 2016, 23:21
by gaby528
Hi guys,

I have a question : in a multipleActive state, can i test if a player is Active in the file .game.php

Thanks in advance for your help.

Re: test Active player in multipleActive State

Posted: 20 March 2016, 16:36
by Quinarbre
Hi,

http://en.doc.boardgamearena.com/Main_g ... ve_players

Just look if that player is listed in $this->gamestate->getActivePlayerList()

Re: test Active player in multipleActive State

Posted: 23 March 2016, 21:10
by gaby528
Thanks a lot :) !