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

move scope of player::position plus getters and setters to Character:: #34725

Merged
merged 1 commit into from
Oct 14, 2019

Conversation

KorGgenT
Copy link
Member

Summary

SUMMARY: Infrastructure "Changes scope of position from player to Character"

Purpose of change

See #34721 for details

Describe the solution

moves tripoint position and the inline functions that set and get the various parts of it to the Character class. position was kept as protected as it's accessed in a lot of places, but perhaps could be moved to private at a later date?

Testing

Loaded a couple saves to make sure the player was where i left them.

@KorGgenT KorGgenT added [C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style labels Oct 13, 2019
@ZhilkinSerg ZhilkinSerg merged commit 7530296 into CleverRaven:master Oct 14, 2019
@KorGgenT KorGgenT deleted the tripoint-to-char branch August 13, 2020 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[C++] Changes (can be) made in C++. Previously named `Code` Code: Infrastructure / Style / Static Analysis Code internal infrastructure and style
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants