ClassesFollowOn this pageFollow Used for implementing actions for the 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(elapsed: number): voidParameterselapsed: numberReturns void
Used for implementing actions for the
Action API
.