| License | BSD-3-Clause |
|---|---|
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Swarm.Game.Robot.Walk
Description
Walkability exceptions
Synopsis
- data Inclusions a
- emptyExceptions :: Monoid a => Inclusions a
- type WalkabilityExceptions a = Inclusions (Set a)
- data WalkabilityContext = WalkabilityContext (Set Capability) (WalkabilityExceptions EntityName)
Documentation
data Inclusions a Source #
A Blacklist that is empty is the typical behavior,
in which walkability is
fully determined by an entity's Unwalkable or Liquid property.
A Whitelist ignores those properties, and even blank terrain
is considered unwalkable.
Note that a Whitelist that is empty would allow no movement whatsoever.
Instances
emptyExceptions :: Monoid a => Inclusions a Source #
type WalkabilityExceptions a = Inclusions (Set a) Source #
data WalkabilityContext Source #
Properties of a robot used to determine whether an entity is walkable
Constructors
| WalkabilityContext | |
Fields
| |