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

Renamed files and classes to match new godot-xr-tools standard. #190

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

Malcolmnixon
Copy link
Collaborator

This pull request fixes issue #40 by applying the new naming standard. Specifically:

  • Classes are named XRTools
  • Files are named snake_case_name.ext

@Malcolmnixon
Copy link
Collaborator Author

The movement provider instances have filenames of movement_xxx.gd/movement_xxx.tscn; however the classes are XRToolsXxxMovement. The order-change was correctly done for the files to group them easier; however the order-change has not yet been applied to the classes.

@BastiaanOlij
Copy link
Member

Looking good!

I think we should consistently name the files according to the class, we can omit XRTools in the filenames. Within Godot the inheritence will group classes by type automatically as movement functions are extended from the movement provider class.

Copy link
Contributor

@lunarcloud lunarcloud left a comment

Choose a reason for hiding this comment

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

A few notes.

addons/godot-xr-tools/functions/movement_climb.gd Outdated Show resolved Hide resolved
addons/godot-xr-tools/functions/movement_flight.gd Outdated Show resolved Hide resolved
addons/godot-xr-tools/functions/movement_jump_detect.gd Outdated Show resolved Hide resolved
… gdlint cleanups.

Changes based on code-review and debugging.
@Malcolmnixon Malcolmnixon marked this pull request as ready for review September 26, 2022 23:26
@Malcolmnixon Malcolmnixon merged commit b4fd310 into GodotVR:master Sep 26, 2022
@Malcolmnixon Malcolmnixon deleted the xr-naming branch September 26, 2022 23:27
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.

3 participants