class Brain{ PVector[] directions; int step=0; //Constructor Brain(int size){ directions=new PVector[size]; //random fill for(int i=0; i