CorayThan Posted July 14, 2017 Report Share Posted July 14, 2017 I've got an issue with phaser and Typescript where my classes that extend Phaser classes aren't recognizing the Phaser class fields. I posted a pretty detailed stackoverflow question about it, but was wondering if anyone on here might have a suggestion. Feel free to reply here or there. Here's the details: https://stackoverflow.com/questions/45091893/cannot-access-base-class-properties-in-typescript/45100163#45100163 Quote Link to comment Share on other sites More sharing options...
robertoprince Posted July 18, 2017 Report Share Posted July 18, 2017 Hi, you should try adding constructor(){ super() } I hope this helps, I usually just create objects for my states Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.