How to create a footprint system in 2D

you just use a look up table, ie grass is green etc