S
Star L
Guest
I would like to be able to create many variables inside 1 thing... is that called a function or a class or what and how do i do it?
I am creating an animal rescue game, I need to keep track of all the animals in the rescue and each animal will have their own stats (name, breed, species, sex, age). I was thinking that by calling up one name i could call up the breed, species, age, sex of the animal too... kind of like a library of information... how do i do this?
I will also need another code to keep track of whether the animal has yet to be rescued or if the rescue owns the animal.
I am creating an animal rescue game, I need to keep track of all the animals in the rescue and each animal will have their own stats (name, breed, species, sex, age). I was thinking that by calling up one name i could call up the breed, species, age, sex of the animal too... kind of like a library of information... how do i do this?
I will also need another code to keep track of whether the animal has yet to be rescued or if the rescue owns the animal.