Skip to content

Commit

Permalink
🧑‍💻 (GameEngineKit): Add Light animation on xylo touch
Browse files Browse the repository at this point in the history
  • Loading branch information
HPezz committed Sep 20, 2023
1 parent b1f2c98 commit b63469a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit b63469a

Please sign in to comment.