Files
basic-computer-games/17_Bullfight/csharp/ActionResult.cs
2022-01-17 09:07:59 +02:00

45 lines
968 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Game
{
/// <summary>
/// Enumerates the different possible outcomes of the player's action.
/// </summary>
public enum ActionResult
{
/// <summary>
/// The fight continues.
/// </summary>
FightContinues,
/// <summary>
/// The player fled from the ring.
/// </summary>
PlayerFlees,
/// <summary>
/// The bull has gored the player.
/// </summary>
BullGoresPlayer,
/// <summary>
/// The bull killed the player.
/// </summary>
BullKillsPlayer,
/// <summary>
/// The player killed the bull.
/// </summary>
PlayerKillsBull,
/// <summary>
/// The player attempted to kill the bull and both survived.
/// </summary>
Draw
}
}