wangguan
2020-12-17 45faee0adf3b5bc2ac051c2a0e08bb4ecf738aac
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>
    {
    }
}