mirror of
https://github.com/coding-horror/basic-computer-games.git
synced 2025-12-23 15:37:51 -08:00
Simplify Bullfight (C#) folder structure
This commit is contained in:
44
17_Bullfight/csharp/ActionResult.cs
Normal file
44
17_Bullfight/csharp/ActionResult.cs
Normal file
@@ -0,0 +1,44 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user