Move::__construct PHP 메소드

__construct() 공개 메소드

public __construct ( Location $loc, $direction = STILL )
$loc Location
    public function __construct(Location $loc, $direction = STILL)
    {
        $this->loc = $loc;
        $this->direction = $direction;
    }