ClassesScaleToOn this pageScaleTo Used for implementing actions for the Action API.ImplementsActionIndex ConstructorsconstructorPropertiesidxyMethodsisCompleteresetstopupdateConstructors constructornew ScaleTo(entity: Entity<any>, scaleX: number, scaleY: number, speedX: number, speedY: number): ScaleToParametersentity: Entity<any>scaleX: numberscaleY: numberspeedX: numberspeedY: numberReturns ScaleToProperties idid: number = ...publicxx: numberpublicyy: numberMethods publicisCompleteisComplete(): booleanReturns booleanpublicresetreset(): voidReturns voidpublicstopstop(): voidReturns voidpublicupdateupdate(elapsed: number): voidParameterselapsed: numberReturns void
Used for implementing actions for the
Action API
.