Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Particle

Index

Constructors

constructor

  • new Particle(__namedParameters?: { color: string; decayRate: number; friction: number; growthRate: number; mass: number; position: Vector; radius: number; velocity: Vector }): Particle
  • Parameters

    • Default value __namedParameters: { color: string; decayRate: number; friction: number; growthRate: number; mass: number; position: Vector; radius: number; velocity: Vector } = {}
      • color: string
      • decayRate: number
      • friction: number
      • growthRate: number
      • mass: number
      • position: Vector
      • radius: number
      • velocity: Vector

    Returns Particle

Properties

color

color: string

decayRate

decayRate: number

friction

friction: number

growthRate

growthRate: number

mass

mass: number

perceivedRadius

perceivedRadius: number = 0

position

position: Vector

radius

radius: number

velocity

velocity: Vector

Generated using TypeDoc