Answer the question
In order to leave comments, you need to log in
Why doesn't the page load after pasting the code?
Here is the MainLocation::draw() method
public function draw() {
foreach ($this->getMobs() as $mob) {
$mob->draw($this);
}
$output = $this->getResource()->getImageBlob();
$outputType = $this->getResource()->getFormat();
header('Content-type: ' . $outputType);
echo $output;
}
public function draw($location) {
$image = new Imagick($this->getImage());
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question