Instead of simulating actual "clicks", this logic should be replaced by a "main game event loop function" that constantly runs, and increases the mushroom count according to the current mps.
There should also be a clicker class structure that groups clicker data together, such as number of clickers, mps, initial clicker price, etc.
The auto clicker logic needs a rework.
Instead of simulating actual "clicks", this logic should be replaced by a "main game event loop function" that constantly runs, and increases the mushroom count according to the current mps.
There should also be a clicker class structure that groups clicker data together, such as number of clickers, mps, initial clicker price, etc.