Fruit Class - Ariel-David/The-Maze-Of-Waze GitHub Wiki

Fruit Class

This class represent a fruit with 3 params:

  1. double value
  2. int type
  3. Point3D pos

Methods:

public fruit()

public fruit(int type, double value, Point3D pos)

public fruit(fruit f)

public double getValue()

public void setValue(double value)

public int getType()

public void setType(int type)

public Point3D getPos()

public void setPos(Point3D pos)