//Google chrome dinosaurio
Dinosaurio d1 = new Dinosaurio
void setup(){ //void setup its an error says.
size(1080, 720);
}
void draw() {
background(255);
d1.display();
}
//Google chrome dinosaurio
Dinosaurio d1 = new Dinosaurio
void setup(){ //void setup its an error says.
size(1080, 720);
}
void draw() {
background(255);
d1.display();
}
It says: “Error in void”, i am in java and i am new in code please help me
Hello @nicoos
Try:
Dinosaurio d1 = new Dinosaurio();