I want to save my time and to reuse common code across classes which extends PIXI classes (a 2d webGl renderer library).
Object Interfaces:
In design patterns there is a principle called "favouring composition over inheritance". It says instead of inheriting Class B from Class A ,put an instance of class A inside class B as a property and then you can use functionalities of class A inside class B. You can see some examples of that here and here.