import { ObservableAtomPlayScreen , ObservableElasticScaleCommand , } from '@ulangi/ulangi-observable' ; export class AtomOriginDelegate { private observableScreen : ObservableAtomPlayScreen ; public constructor ( observableScreen ) { this . observableScreen = observableScreen ; } public bounceOrigin ( ) { this . observableScreen . origin . commandList . commands . push ( new ObservableElasticScaleCommand ( { scaleX : 1.5 , scaleY : 1.5 } , { scaleX : 1 , scaleY : 1 } ) ) ; } }