Skip to content
Permalink
Browse files

Add ActionGroup::DefaultGroup constant.

  • Loading branch information...
austenmc committed Aug 27, 2016
1 parent f190b61 commit ab8ab726adcf98283ea28e65d34e6eb3eb641b86
Showing with 3 additions and 1 deletion.
  1. +2 −0 src/ActionGroup.php
  2. +1 −1 src/Game.php
@@ -8,6 +8,8 @@
*/
class ActionGroup
{
const DefaultGroup = 'lotgd/core/default';
private $id;
private $title;
private $sortKey;
@@ -270,7 +270,7 @@ private function setupViewpoint(CharacterViewpoint $v, Scene $s)
{
$v->setOwner($this->getCharacter());
$v->changeFromScene($s);
$ag = new ActionGroup('lotgd/core/default', '', 0);
$ag = new ActionGroup(ActionGroup::DefaultGroup, '', 0);
$as = array_map(function ($c) {
return new Action($c->getId());
}, $s->getChildren()->toArray());

0 comments on commit ab8ab72

Please sign in to comment.
You can’t perform that action at this time.