Beispiel #1
0
        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");
        }
Beispiel #2
0
 protected virtual void OnRaiseTurnEvent(TurnEventArgs e)
 {
     turnEvent?.Invoke(this, e);
 }