Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function reduceSpeed()
- {
- $this->isStarted();
- if ($this->speedValue < 0) {
- return false;
- }
- $this->speedValue -= $this->power;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement