Morning all, this is a piece of code where the label updates itself depending on which sprite I select so for instance I select sprite 1 it will display its HP and AP then Sprite 2 etc.
it shows a red squiggly line under "Sprite" on the public sub line.
Could anyone indicate what am I doing wrong here?
Public Sub UpdateLabels(Sprites As Sprite)
Label1.Text = Sprites.HP.ToString()
Label2.Text = Sprites.AP.ToString()
End Sub
WRA