fix: first clicks now are properly detected
This commit is contained in:
parent
db839ea96d
commit
2cddb7a7b9
13 changed files with 99 additions and 30 deletions
|
@ -2,10 +2,13 @@
|
|||
public class Score {
|
||||
public int Value { private set; get; }
|
||||
|
||||
public const int InitialRosesThreshold = 5;
|
||||
|
||||
public readonly int SpawnRate;
|
||||
public readonly int GrowIterations;
|
||||
|
||||
public float GrowPercentage { private set; get; }
|
||||
public int Roses => Value / (SpawnRate * GrowIterations);
|
||||
|
||||
public Score(int spawnRate, int growIterations) : this(0, spawnRate, growIterations) { }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue