@recast-navigation/core 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/crowd.d.ts +0 -2
- package/dist/index.es.js +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/nav-mesh.d.ts +0 -3
- package/package.json +2 -2
- package/dist/topic.d.ts +0 -9
package/dist/crowd.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type R from '@recast-navigation/wasm';
|
|
2
2
|
import type { NavMesh } from './nav-mesh';
|
|
3
|
-
import { Topic } from './topic';
|
|
4
3
|
import type { NavPath, Vector3 } from './utils';
|
|
5
4
|
export declare type CrowdParams = {
|
|
6
5
|
maxAgents: number;
|
|
@@ -75,7 +74,6 @@ export declare class Crowd {
|
|
|
75
74
|
* Time factor applied when updating crowd agents (default 1). A value of 0 will pause crowd updates.
|
|
76
75
|
*/
|
|
77
76
|
timeFactor: number;
|
|
78
|
-
onPostUpdate: Topic<void>;
|
|
79
77
|
constructor({ maxAgents, maxAgentRadius, navMesh }: CrowdParams);
|
|
80
78
|
addAgent(position: Vector3, crowdAgentParams: Partial<CrowdAgentParams>): number;
|
|
81
79
|
removeAgent(agentIndex: number): void;
|