public ImmovableBlock(Point p, Map map) {
this.map = map;
location = p;// setting location of immovable block
health = -1;// -1 invincible so -1 health
// creating new rectangle to detect collisions
rect = new ImmovableBlockRectangle(location.col - 25, location.row - 25);
}