@@ -489,6 +489,10 @@ |
||
489 | 489 | $this->entityManager->flush($faction); |
490 | 490 | } |
491 | 491 | |
492 | + /** |
|
493 | + * @param boolean $hadVoted |
|
494 | + * @param integer $convPlayerID |
|
495 | + */ |
|
492 | 496 | public function uMandate(Color $color, $governmentMembers, $newChief, $idOldChief, $hadVoted, $conv, $convPlayerID, $candidate) { |
493 | 497 | # préparation de la conversation |
494 | 498 | $conv->messages++; |
@@ -12,10 +12,8 @@ |
||
12 | 12 | namespace Asylamba\Modules\Demeter\Manager\Election; |
13 | 13 | |
14 | 14 | use Asylamba\Classes\Entity\EntityManager; |
15 | - |
|
16 | 15 | use Asylamba\Modules\Demeter\Model\Election\Election; |
17 | 16 | use Asylamba\Modules\Demeter\Model\Election\Candidate; |
18 | - |
|
19 | 17 | use Asylamba\Modules\Zeus\Model\Player; |
20 | 18 | |
21 | 19 | class CandidateManager { |
@@ -12,10 +12,8 @@ |
||
12 | 12 | namespace Asylamba\Modules\Demeter\Manager\Election; |
13 | 13 | |
14 | 14 | use Asylamba\Classes\Entity\EntityManager; |
15 | - |
|
16 | 15 | use Asylamba\Modules\Demeter\Model\Election\Election; |
17 | 16 | use Asylamba\Modules\Demeter\Model\Election\Vote; |
18 | - |
|
19 | 17 | use Asylamba\Modules\Zeus\Model\Player; |
20 | 18 | |
21 | 19 | class VoteManager { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Resource\ColorResource; |
8 | 7 | use Asylamba\Modules\Demeter\Model\Color; |
9 | 8 |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository\Election; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Model\Election\Election; |
8 | 7 | |
9 | 8 | class ElectionRepository extends AbstractRepository { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository\Election; |
4 | 4 | |
5 | 5 | use Asylamba\Classes\Entity\AbstractRepository; |
6 | - |
|
7 | 6 | use Asylamba\Modules\Demeter\Model\Election\Vote; |
8 | 7 | |
9 | 8 | class VoteRepository extends AbstractRepository { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Asylamba\Modules\Demeter\Repository\Forum; |
4 | 4 | |
5 | 5 | use Asylamba\Modules\Demeter\Model\Forum\FactionNews; |
6 | - |
|
7 | 6 | use Asylamba\Classes\Entity\AbstractRepository; |
8 | 7 | use Asylamba\Classes\Library\Utils; |
9 | 8 |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use Asylamba\Modules\Gaia\Manager\SystemManager; |
6 | 6 | use Asylamba\Modules\Zeus\Manager\PlayerManager; |
7 | 7 | use Asylamba\Modules\Athena\Manager\OrbitalBaseManager; |
8 | - |
|
9 | 8 | use Asylamba\Classes\Entity\EntityManager; |
10 | - |
|
11 | 9 | use Asylamba\Modules\Gaia\Event\PlaceOwnerChangeEvent; |
12 | 10 | |
13 | 11 | class SystemListener |
@@ -5,13 +5,10 @@ |
||
5 | 5 | use Asylamba\Classes\Library\Chronos; |
6 | 6 | use Asylamba\Classes\Library\Game; |
7 | 7 | use Asylamba\Classes\Library\Format; |
8 | - |
|
9 | 8 | use Asylamba\Modules\Promethee\Model\Technology; |
10 | - |
|
11 | 9 | use Asylamba\Modules\Promethee\Resource\TechnologyResource; |
12 | 10 | use Asylamba\Modules\Athena\Resource\OrbitalBaseResource; |
13 | 11 | use Asylamba\Modules\Athena\Helper\OrbitalBaseHelper; |
14 | - |
|
15 | 12 | use Asylamba\Modules\Ares\Manager\CommanderManager; |
16 | 13 | use Asylamba\Modules\Athena\Manager\CommercialRouteManager; |
17 | 14 | use Asylamba\Classes\Library\Session\SessionWrapper; |