ClassesScaleByOn this pageScaleBy Used for implementing actions for the Action API.ImplementsActionIndex ConstructorsconstructorPropertiesidxyMethodsisCompleteresetstopupdateConstructors constructornew ScaleBy(entity: Entity<any>, scaleOffsetX: number, scaleOffsetY: number, speed: number): ScaleByParametersentity: Entity<any>scaleOffsetX: numberscaleOffsetY: numberspeed: numberReturns ScaleByProperties 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
.