ClassesFollowOn this pageFollow Used for implementing actions for the [[ActionContext|Action API]].ImplementsActionIndex ConstructorsconstructorPropertiesxyMethodsisCompleteresetstopupdateConstructors constructornew Follow(entity: Entity<any>, entityToFollow: Entity<any>, followDistance?: number): FollowParametersentity: Entity<any>entityToFollow: Entity<any>optionalfollowDistance: numberReturns FollowProperties publicxx: numberpublicyy: numberMethods publicisCompleteisComplete(): booleanReturns booleanpublicresetreset(): voidReturns voidpublicstopstop(): voidReturns voidpublicupdateupdate(_delta: number): voidParameters_delta: numberReturns void
Used for implementing actions for the [[ActionContext|Action API]].