alexr4_Processing-3_0_1-alpha-Various-Snippet/Processing-301-snippets/JavaMethods/accessToMethodObject/classExemple.pde
class classExemple
{
  float x;
  
  classExemple()
  {
    x = random(1);
  }
  
  //set
  void setFloatX(float nx)
  {
    x = nx;
  }
  
  //get
  float getFloatX()
  {
    return x;
  }
}