PlayerSitterManager

model.managers.movements.PlayerManagers.PlayerSitterManager
case class PlayerSitterManager[C <: Player[C]](sittingRadius: Double) extends BaseManager[Context[C]]

This manager make the player sits to its favourite game is it is within the sittingRadius

Type parameters

C

the concrete type the player

Value parameters

sittingRadius

the radius within the player will sit to a game

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait BaseManager[Context[C]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def update(slice: Context[C]): Context[C]

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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product