package sentientrules
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
-
case class
EscapeFromBoundaryRule(levelInfo: Level) extends SentientRule with Product with Serializable
compute the acceleration to avoid the boundary in according with boundary collision rule
compute the acceleration to avoid the boundary in according with boundary collision rule
- levelInfo
level that contain collision rule
-
case class
EscapeFromEnemiesRule(enemies: ListBuffer[SentientEnemyProperty]) extends SentientRule with Product with Serializable
Rule to compute the acceleration to run away from enemies
Rule to compute the acceleration to run away from enemies
- enemies
list of possible enemies
-
case class
FollowTargetRule(enemies: ListBuffer[SentientEnemyProperty]) extends SentientRule with Product with Serializable
Rule to compute the acceleration to follow the target enemy
Rule to compute the acceleration to follow the target enemy
- enemies
list of enemies from which choose the target enemy
-
trait
SentientRule extends AnyRef
Base rule for sentient entity
Value Members
-
object
SentientUtils
Utils for sentient system and rules