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

feat: expose all actor exports #3113

Merged
merged 1 commit into from
Jun 30, 2024
Merged

Conversation

Autsider666
Copy link
Contributor

I originally only intended to add ActorEvents to the exports, so it's possible to extend it without a dirty import:
import {ActorEvents} from "excalibur/build/dist/Actor";

But I don't see any reason to not export all of the Actor exports, because isActor could also be really useful for people extending core EX functionality.

I originally only intended to add `ActorEvents` to the exports, so it's possible to extend it without a dirty import:
 `import {ActorEvents} from "excalibur/build/dist/Actor";`

But I don't see any reason to not export all of the Actor exports, because `isActor` could also be really useful for people extending core EX functionality
Copy link
Member

@eonarheim eonarheim left a comment

Choose a reason for hiding this comment

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

@Autsider666 makes sense to me!

@eonarheim eonarheim merged commit 3a2f408 into excaliburjs:main Jun 30, 2024
5 checks passed
@Autsider666 Autsider666 deleted the patch-5 branch July 19, 2024 08: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.

2 participants