55 virtual int getAge()
const;
69 virtual void print()
const;
virtual ~AGPerson()
Cleans up everything.
virtual bool decide(SUMOReal probability) const
Lets the person make a decision.
AGPerson(int age)
Initialises the class attributes.
virtual int getAge() const
Provides the age of the person.
virtual void print() const
Puts out a summary of the class properties.
Base class of every person in the city (adults and children)