test Active player in multipleActive State

Game development with Board Game Arena Studio
Post Reply
User avatar
gaby528
Posts: 10
Joined: 22 April 2014, 16:48

test Active player in multipleActive State

Post 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.
User avatar
Quinarbre
Posts: 140
Joined: 15 December 2013, 23:26

Re: test Active player in multipleActive State

Post by Quinarbre »

Hi,

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

Just look if that player is listed in $this->gamestate->getActivePlayerList()
User avatar
gaby528
Posts: 10
Joined: 22 April 2014, 16:48

Re: test Active player in multipleActive State

Post by gaby528 »

Thanks a lot :) !
Post Reply

Return to “Developers”