UNPKG

@react-ecs/boids

Version:

<h1 align="center"> <br> <a href="https://react-ecs.ldlework.com"><img src="https://i.imgur.com/Rn6yLZs.gif" alt="React ECS" width="300"></a> <br> React ECS <br> <a href="https://react-ecs.ldlework.com">react-ecs.ldlework.com</a> </h1>

9 lines (8 loc) 261 B
import { FC } from 'react'; import { Entity } from 'tick-knock'; declare type NeighborSystemProps = { radius: number; filter?: (self: Entity, other: Entity) => boolean; }; export declare const NeighborSystem: FC<NeighborSystemProps>; export {};