I'm sorry for your loss... It's a terrible thing to lose a dog.
Please, if anything like this ever happens again BEG your parents to take the animal to the vet. If you can't afford to pay the vet ask him if you can clean kennels, sweep up offices, anything. I'm sure most of them will work with you... It breaks my heart that the poor dog laid there alone, all day, to die without a glimmer of hope that someone would help.