void OnTurn(object sender, TurnEventArgs e) { Image img = pbArrow.Image; img.RotateFlip(RotateFlipType.RotateNoneFlipX); pbArrow.Image = img; gbBodyPart.Text = "Body part to " + (e.PlayerTurn ? "attack" : "protect"); }
protected virtual void OnRaiseTurnEvent(TurnEventArgs e) { turnEvent?.Invoke(this, e); }