CorayThan Posted July 14, 2017 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 Link to comment Share on other sites More sharing options...
robertoprince Posted July 18, 2017 Share Posted July 18, 2017 Hi, you should try adding constructor(){ super() } I hope this helps, I usually just create objects for my states Link to comment Share on other sites More sharing options...
Recommended Posts