On my way to university i wrote a little pattern program, which i want to be able to be configured with a GUI later on. But atm i am stuck on the speed paramater. As soon as i want to change speed settings inside my integer the whole progress isn't working anymore.
Here's the Code:
int x = 0; int y = 0; int speed = 40; int versatz = 5;