import { Entity } from 'scilla-core/src';
import { Transform, TextRenderer } from 'scilla-components/src';

export const getTransForm=(e:Entity)=> e.getComponent(Transform) as Transform;
export const getTextRenderer=(e:Entity)=>e.getComponent(TextRenderer) as TextRenderer;
export const getHeight = (e:Entity)=>getTransForm(e).height;