Skip to content

Commit

Permalink
feat: expose all actor exports (#3113)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Autsider666 authored Jun 30, 2024
1 parent 35ea81b commit 3a2f408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export * from './Flags';
export * from './Id';
export * from './Engine';
export * from './Screen';
export { Actor, ActorArgs } from './Actor';
export * from './Actor';
export * from './Math/Index';
export * from './Camera';
export * from './Configurable';
Expand Down

0 comments on commit 3a2f408

Please sign in to comment.