FilterBasedStrategy

trait FilterBasedStrategy(filter: SimulationEntity => Boolean) extends EntranceStrategy

Filter based entrance strategy. It decides if allow the entity to enter based on the filter function passed when mixed-in.

class Object
trait Matchable
class Any

Value members

Concrete methods

def canEnter(entity: SimulationEntity): Boolean