class Food { //Variables for the food class, rightnow they only have x & y, but could totally have more later (ex flavor etc) int x, y; Food (int startX, int startY){ //Constructor this.x = startX; this.y = startY; } void doWhatFoodDoes(){ fill(255,255,0); rect(this.x, this.y, 10,10); } } //Example declaration Food superMush = new Food(200,340);