Firstborn/Assets/RPG Creation Kit/Scripts/Interfaces/IMeleeAttacker.cs
Schaken-Mods 959e80cf72 assets upload
assets upload description.
2023-03-28 12:16:30 -05:00

46 lines
1.0 KiB
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using RPGCreationKit;
namespace RPGCreationKit
{
/// <summary>
/// Entities that can attack
/// </summary>
public interface IMeleeAttacker
{
/// <summary>
/// Draws the Weapon
/// </summary>
void DrawWeapon();
/// <summary>
/// Undraws the weapon
/// </summary>
void UndrawWeapon();
/// <summary>
/// Method that runs when the entity has to perfrom a melee attack, usually used to check distance.
/// </summary>
void MeleeAttackCheck();
/// <summary>
/// Performs the melee attack
/// </summary>
void MeleeAttackEvent();
void MeleeChargedAttack();
void BlockEvent();
void OnEnterCombat();
void UseMelee();
/// <summary>
/// Called when this entity attacks and its attack gets blocked.
/// </summary>
void OnAttackIsBlocked();
}
}