Fruit - YosefTwito/PackIt GitHub Wiki
- This class represents a Fruit.
- Can be a banana or an apple.
- @authors YosefTwito and EldarTakach
The Fruit:
Fruit's parameters:
- double value - of the fruit.
- int type - apple or banana.
- Point3D pos - location.
- int from - from which node it comes.
- int to - to which node it goes.
- int tag - to mark fruits that are being visited.
The functions of the Fruit are:
Getters/Setters :
- to adjust an existing Fruit.
Constructors:
- Fruit().
- Fruit(value, type ,pos).