Skip to content

Instantly share code, notes, and snippets.

@wizard1066
Created April 6, 2020 07:21
Show Gist options
  • Save wizard1066/a3b74e5b9909be1884ec26430a605318 to your computer and use it in GitHub Desktop.
Save wizard1066/a3b74e5b9909be1884ec26430a605318 to your computer and use it in GitHub Desktop.
abgwtp19
func cellHistory(column:Int, row:Int, tVcount:Int, poke:String, sliderValue:inout Int, sliderDB:inout [(Int?,String?,Color?)], textText:inout [String], textColors:inout [Color]) {
sliderDB[Int(sliderValue)] = ((fCalc(c: column, r: row, x: tVcount)),poke,backgrounds[Int(poke)! - 1])
sliderValue = sliderValue + 1
textText[fCalc(c: column, r: row, x: tVcount)] = poke
textColors[fCalc(c: column, r: row, x: tVcount)] = backgrounds[Int(poke)! - 1]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment