From cc2506dfdb98795723988c9e28bfbe7edee2298e Mon Sep 17 00:00:00 2001 From: Hugo Pezziardi Date: Wed, 20 Sep 2023 15:11:29 +0200 Subject: [PATCH] :technologist: (GameEngineKit): Add Light animation on xylo touch --- .../Sources/Specific/Xylophone/XylophoneView.swift | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Modules/GameEngineKit/Sources/Specific/Xylophone/XylophoneView.swift b/Modules/GameEngineKit/Sources/Specific/Xylophone/XylophoneView.swift index 5632011d49..a7c77bea4e 100644 --- a/Modules/GameEngineKit/Sources/Specific/Xylophone/XylophoneView.swift +++ b/Modules/GameEngineKit/Sources/Specific/Xylophone/XylophoneView.swift @@ -34,6 +34,8 @@ public struct XylophoneView: View { ForEach(kListOfXylophoneTiles) { tile in Button { xyloPlayer.noteOn(number: tile.noteNumber) + // TODO(@ladislas): Light on Leka lights with tile.color + print("Leka is \(tile.color)") } label: { tile.color }