excaliburjs / Excalibur

🎮 Your friendly TypeScript 2D game engine for the web 🗡️
https://excaliburjs.com
BSD 2-Clause "Simplified" License
1.77k stars 189 forks source link

feat: expose all actor exports #3113

Closed Autsider666 closed 3 months ago

Autsider666 commented 3 months ago

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.