mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-10-14 00:23:39 +00:00
15 lines
263 B
C#
15 lines
263 B
C#
namespace SpriteCompiler.AI
|
|
{
|
|
using System;
|
|
|
|
public interface ICost<C> : IComparable<C>
|
|
{
|
|
C Add(C value);
|
|
|
|
// Number theoretic values, i.e. C + ZERO = C, C * ONE = C
|
|
C Zero();
|
|
C One();
|
|
C Maximum();
|
|
}
|
|
}
|