chenxin
2020-10-21 74d512da60864d2ece8c19edfc3bbe264ccb98f7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using Core.Utilities;
 
namespace Core.Health
{
    /// <summary>
    /// An interface for objects which can provide a team/alignment for damage purposes
    /// </summary>
    public interface IAlignmentProvider : ISerializableInterface
    {
        /// <summary>
        /// Gets whether this alignment can harm another
        /// </summary>
        bool CanHarm(IAlignmentProvider other);
    }
 
    /// <summary>
    /// Concrete serializable version of interface above
    /// </summary>
    [Serializable]
    public class SerializableIAlignmentProvider : SerializableInterface<IAlignmentProvider>
    {
    }
}