PlayerManagers
model.managers.movements.PlayerManagers
object PlayerManagers
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PlayerManagers.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
case class GamesAttractivenessManager[C <: Player[C] & BoredomFrustration[C]](frustrationIncrease: Double, weight: Double) extends WeightedManager[Context[C]]
This manager will make the player go towards its favourite type of game. If the game is not present, its direction is unaltered and its frustration is increased by frustration
This manager will make the player go towards its favourite type of game. If the game is not present, its direction is unaltered and its frustration is increased by frustration
Type parameters
- C
-
the customer concrete type
Value parameters
- frustrationIncrease
-
the increase in frustration when the favourite game is not found
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
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
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
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
In this article