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

FlxSpriteGroup: add insert() #2020

Merged
merged 2 commits into from
Jan 11, 2017
Merged

FlxSpriteGroup: add insert() #2020

merged 2 commits into from
Jan 11, 2017

Conversation

MSGhero
Copy link
Member

@MSGhero MSGhero commented Jan 2, 2017

Basically just add with a bit more control over positioning, or a more useful group.insert(). May or may not need it for haxeui.

Basically just `add` with a bit more control over positioning
@Gama11
Copy link
Member

Gama11 commented Jan 2, 2017

This is almost a 1:1 copy of add(), I'd like to avoid that redundancy.

@MSGhero
Copy link
Member Author

MSGhero commented Jan 2, 2017

I think an optional add parameter would break people's overrides, so a private addButNotActually() that just offsets the sprite and all?

@Gama11
Copy link
Member

Gama11 commented Jan 2, 2017

Yeah. that's what I meant.

@MSGhero
Copy link
Member Author

MSGhero commented Jan 2, 2017

I can't think of a good function name

@MSGhero
Copy link
Member Author

MSGhero commented Jan 7, 2017

Ok

@Gama11 Gama11 changed the title insert for FSG FlxSpriteGroup: add insert() Jan 11, 2017
@Gama11 Gama11 merged commit 4ca1eae into HaxeFlixel:dev Jan 11, 2017
@MSGhero MSGhero deleted the fsg-insert branch January 14, 2017 21:38
Aurel300 pushed a commit to larsiusprime/haxeflixel that referenced this pull request Apr 18, 2018
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