Implements move execution for battle
This commit is contained in:
23
PkmnLib.Dynamic/Events/MoveMissEvent.cs
Normal file
23
PkmnLib.Dynamic/Events/MoveMissEvent.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using PkmnLib.Dynamic.Models;
|
||||
|
||||
namespace PkmnLib.Dynamic.Events;
|
||||
|
||||
/// <summary>
|
||||
/// Triggered when a move misses.
|
||||
/// </summary>
|
||||
public class MoveMissEvent : IEventData
|
||||
{
|
||||
/// <inheritdoc cref="MoveMissEvent"/>
|
||||
public MoveMissEvent(IExecutingMove executingMove)
|
||||
{
|
||||
ExecutingMove = executingMove;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Data about the move that missed.
|
||||
/// </summary>
|
||||
public IExecutingMove ExecutingMove { get; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public EventBatchId BatchId { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user