Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
PhpDeal
Functional
Invariant
Stub
decelerate
PhpDeal\Functional\Invariant\Stub::decelerate PHP Method
Stub Class Documentation
Mostra file
Open project: lisachenko/php-deal
decelerate()
public
method
Decelerate
public
decelerate
(
float
$decelaration
,
integer
$time
)
$decelaration
float
$time
integer
public function decelerate($decelaration, $time) { $this->speed -= $decelaration * $time; }
Stub
accelerate
decelerate