This is module with base class of Game Object for Al engine.
You need to extend your class from GameObject and add realisation of needed methods:
needUpdate init tick update render draw
Also you can use fields:
position size speed children parent sprite