cnwerb Posted December 13, 2016 Share Posted December 13, 2016 I want to write a custom typescript class to manage my game objects, see the small stub below, it's as far as I've gotten: import { Sprite } from 'pixi.js'; export class GameObjectInstanceSprite extends Sprite { constructor(){ super(); } } Do I need to include any parameters into the call to super() ? Or is that all I need to do? Quote Link to comment Share on other sites More sharing options...
cnwerb Posted December 14, 2016 Author Share Posted December 14, 2016 (edited) Okay, I've figured it out. For anyone from the future wondering about this, the above is all you need to do. Edited December 14, 2016 by cnwerb Issue solved 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.