@Override
	public void draw(float x, float y) {
		if (cast) {
			if (!dead) {
				float absX = info.x-x+(GameInfo.Width-info.w)*0.5f, absY = info.y-y+(GameInfo.Height-info.h)*0.5f;
				if (absX > -GameInfo.Width && absX < 2*GameInfo.Width &&
					absY > -GameInfo.Height && absY < 2*GameInfo.Height) {
					if (dying) {
						graphic.drawFlash(absX,absY,info.w,info.h, Color.pink);
					} else {
						graphic.draw(absX,absY,info.w,info.h);
					}
				}
			}
		}
	}