ClassesFollowOn this pageFollow Used for implementing actions for the [[ActionContext|Action API]].ImplementsActionIndex ConstructorsconstructorPropertiesidxyMethodsisCompleteresetstopupdateConstructors constructornew Follow(entity: Entity<any>, entityToFollow: Entity<any>, followDistance?: number): FollowParametersentity: Entity<any>entityToFollow: Entity<any>optionalfollowDistance: numberReturns FollowProperties idid: number = ...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]].