import Component from '../component' ; export default class Acceleration extends Component { public x : number ; public y : number ; constructor ( x , y ) { super ( ) ; this . x = x ; this . y = y ; } }