public function deal($damage)
    {
        if (null !== $this->damage) {
            throw new LogicException('Damage already defined');
        }

        $this->damage = $damage;

        return $this;
    }
public function deal($damage)
    {
        if (null !== $this->damage) {
            throw new LogicException('Damage already defined');
        }

        $this->damage = $damage;

        return $this;
    }
public function deal ( $ damage ) { if ( null !== $ this -> damage ) { throw new LogicException ( 'Damage already defined' ) ; } $ this -> damage = $ damage ; return $ this ; }
Define the damage.

@param int $damage

@return static
Define the damage .