-
Notifications
You must be signed in to change notification settings - Fork 459
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
Don't put typed classes in a separate .hx module #1100
Conversation
@@ -5,10 +5,10 @@ import flixel.FlxBasic; | |||
import flixel.FlxCamera; | |||
import flixel.FlxG; | |||
import flixel.FlxObject; | |||
import flixel.group.FlxTypedGroup; | |||
import flixel.group.FlxGroup.FlxTypedGroup; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, this is ugly...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How so? Importing a type within the FlxGroup.hx
module, makes sense to me.
You could also import FlxGroup
instead if you prefer that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import flixel.group.FlxGroup
This should be sufficient ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer that...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is that FlashDevelop's "organize imports" feature removes that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's a bug with FlashDevelop and should be reported.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already done so a while ago. ;)
This is a huge change, and should go on v4.0. I think it'll lead to an overall cleaner API though, so I like it. This would be a good opportunity to add an UPGRADE.md file that would provide instructions on how users of the dev branch can fix errors introduced by this change:
|
Merged manually here: 62fe691 |
Consistent with FlxSignal.