Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Missile::_mirange to Missile::duration #7214

Merged
merged 3 commits into from
Sep 23, 2024

Conversation

kphoenix137
Copy link
Collaborator

@kphoenix137 kphoenix137 commented Jul 26, 2024

_mirange is a bit confusing. duration adequately describes what the missile is used for, as the intent is the amount of ticks the missile exists for, often decremented every tick until it hits 0, when the missile is destroyed.

Source/missiles.h Outdated Show resolved Hide resolved
Source/missiles.h Outdated Show resolved Hide resolved
@kphoenix137 kphoenix137 marked this pull request as draft September 17, 2024 22:43
@kphoenix137 kphoenix137 marked this pull request as ready for review September 23, 2024 02:14
`mirange` is a bit confusing. `miduration` adequately describes what the missile is used for, as the intent is the amount of ticks the missile exists for, often decremented every tick until it hits 0, when the missile is destroyed.
@kphoenix137 kphoenix137 changed the title Refactor mirange to miduration Refactor Missile member variable _mirange to duration Sep 23, 2024
@AJenbo AJenbo changed the title Refactor Missile member variable _mirange to duration Rename Missile::_mirange to Missile::duration Sep 23, 2024
@AJenbo AJenbo merged commit 9f197f5 into diasurgical:master Sep 23, 2024
23 checks passed
@kphoenix137 kphoenix137 deleted the refactor-mirange branch September 23, 2024 10:53
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.

4 participants