public TurnEventArgs(Turn turn) { this.Turn = turn; }
public void OnTurnDone(object sender, TurnEventArgs args) { curentTurn = args.Turn; if (curentTurn.side == Side.Cross) { curentTurnAnimation = createTurnAnimation(crossFrames, 60, 10); } else if (curentTurn.side == Side.Zero) { curentTurnAnimation = createTurnAnimation(zeroFrames, 60, 10); } curentTurnAnimation.Repeat = false; }