feat: renderable events

This commit is contained in:
cha0s 2019-03-30 05:07:21 -05:00
parent 446610a394
commit a79ce5daf6

View File

@ -1,6 +1,14 @@
export class Renderable {
import {compose} from '@avocado/core';
import {EventEmitter} from '@avocado/mixins';
const decorate = compose(
EventEmitter,
);
export class Renderable extends decorate(class {}) {
constructor() {
super();
this.parent = null;
this._zIndex = 0;
}