Skip to content

Refactoring#50

Open
Rustamchuk wants to merge 2 commits into
HolyMonkey:masterfrom
Rustamchuk:Refactoring
Open

Refactoring#50
Rustamchuk wants to merge 2 commits into
HolyMonkey:masterfrom
Rustamchuk:Refactoring

Conversation

@Rustamchuk
Copy link
Copy Markdown

No description provided.

Rustamchuk and others added 2 commits July 15, 2021 13:57
Comment on lines +8 to +9
private float _movementX;
private float _movementY;
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Зачем это в полях?

Comment on lines +22 to +32
public void MultiplySpeed(float value)
{
_speed *= value;
_isMultiplied = true;
}

public void ShareSpeed(float value)
{
_speed /= value;
_isMultiplied = false;
}
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Какая-то ерунда с флагом _isMultiplied

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants