public HitBoxFrame(double time, Rectangle box, double damage) { this.frameTime = time; this.box = box; this.damage = damage; } }