LSMEW: CrumbSensor class

Table of Contents

The CrumbSensor class implements a virtual sensor that detects crumb signals. It should interact with the and provides 2 distnct informations:

1. CrumbSensor.getCrumbUnderneath

The idea is to check the grid for a possible crumb, return that LSMEW: Crumb class if found one, and null if not.

2. CrumbSensor.getCrumbsDirection

The idea is to check the surrounding grid cells in for the highest signal value and go for the largest cell.

Author: Linfeng He

Created: 2024-04-03 Wed 20:16