model.managers.movements.Boids.AlignmentManager
This manager implement the boid alignment logic
Attributes
-
Graph
-
-
Supertypes
-
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Members list
Updates a given slice of the simulation state.
Updates a given slice of the simulation state.
This method encapsulates the core logic of the manager, transforming an input state into an updated state.
Value parameters
-
slice
-
The input state slice to be updated.
Attributes
-
Returns
-
The updated state slice.
-
Definition Classes
-
Value parameters
-
weight
-
the new value for weight
Attributes
-
Returns
-
a new manager with the given weight
-
Definition Classes
-
Attributes
-
Inherited from:
-
Product
Attributes
-
Inherited from:
-
Product