Пример #1
0
 /**
  * Render the image.
  *
  * @return void
  */
 protected function draw()
 {
     $this->api->getSkills()->each(function (SkillContract $skill) {
         switch ($skill->getName()) {
             case 'overall':
                 break;
                 // Skip
             // Skip
             default:
                 $this->drawSkill($skill, $this->getDrawLocationX($skill), $this->getDrawLocationY($skill));
         }
     });
     $this->drawUserArea($this->getDrawLocationX(new Dungeoneering()));
     $this->drawWatermark();
 }
Пример #2
0
 public function testGetSkills()
 {
     $api = new API();
     $this->assertInstanceOf(\Burthorpe\Runescape\RS3\Skills\Repository::class, $api->getSkills());
 }