Add 0 and 1 constants

This commit is contained in:
Lucas Scharenbroich 2017-02-24 22:52:18 -06:00
parent b1a3bd8f4e
commit fda5e268d7
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,9 @@ namespace SpriteCompiler.AI
/// </summary>
public sealed class IntegerCost : ICost<IntegerCost>
{
public static IntegerCost ZERO = new IntegerCost(0);
public static IntegerCost ONE = new IntegerCost(1);
private readonly int value;
public IntegerCost()