Exemplo n.º 1
0
 public function __construct()
 {
     parent::__construct(array('active' => TRUE, 'complete' => FALSE, 'visible' => TRUE, 'quests' => array(0 => new SkyQuest(), 1 => new NightSKyQuest())));
 }
Exemplo n.º 2
0
 public function __construct($id)
 {
     $row_c = Database::getRow('LRC', 'label="LRC_Quest"');
     $row_v = Database::getQuestRow('LRC_Quest', '' . $id, 'active, complete, visible', '1, 0, 1');
     parent::__construct(array('name' => $row_c['name'], 'active' => $row_v['active'], 'complete' => $row_v['complete'], 'visible' => $row_v['visible'], 'objective' => $row_c['objective'], 'reward' => $row_c['reward'], 'quests' => array(0 => new LRC_Visit($id), 1 => new LRC_GetPlanner($id), 2 => new LRC_SayingOnWall($id), 3 => new LRC_VisitWritingCenter($id), 4 => new LRC_VisitLRCMathLab($id), 5 => new LRC_TypesOfCoaching($id), 6 => new LRC_Appointment($id), 7 => new LRC_TopicsOfACC($id), 8 => new LRC_WednesdayWorkshop($id))));
 }