swarm-0.6.0.0: 2D resource gathering game with programmable robots
LicenseBSD-3-Clause
Safe HaskellSafe-Inferred
LanguageHaskell2010

Swarm.Game.Scenario.Topography.Structure.Recognition.Prep

Description

 
Synopsis

Documentation

mkEntityLookup :: (Hashable a, Eq a) => [StructureWithGrid b a] -> HashMap a (AutomatonInfo a (AtomicKeySymbol a) (StructureSearcher b a)) Source #

Make the first-phase lookup map, keyed by Entity, along with automatons whose key symbols are "Maybe Entity".

Each automaton in this first layer will attempt to match the underlying world row against all rows within all structures (so long as they contain the keyed entity).