header file for heroLayer.cpp