feat: new rose spawn animation

This commit is contained in:
Gerard Gascón 2024-04-21 23:31:28 +02:00
parent b3996c6831
commit 1580910ec1
113 changed files with 6558 additions and 23 deletions

View file

@ -16,6 +16,8 @@ namespace View {
public SaveGame Saver { private set; get; }
public LoadGame Loader { private set; get; }
public SpawnRose Spawner { private set; get; }
private void Awake() {
Score = new Score(10, 10);
@ -28,7 +30,8 @@ namespace View {
IInputCallback inputCallback = new InputCallbackCollection(new[] { visibility, growParticles });
IRoseGrow growAnimation = FindObjectOfType<GrowAnimation>();
ExpressionClick = new ExpressionClick(Score, input, spawner, growAnimation, inputCallback);
ExpressionClick = new ExpressionClick(Score, input, growAnimation, inputCallback);
Spawner = new SpawnRose(Score, spawner);
CustomInput = new CustomInput();