From fda5e268d7464d33d2808629cea6434476e6c988 Mon Sep 17 00:00:00 2001 From: Lucas Scharenbroich Date: Fri, 24 Feb 2017 22:52:18 -0600 Subject: [PATCH] Add 0 and 1 constants --- SpriteCompiler/AI/IntegerPathCost.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpriteCompiler/AI/IntegerPathCost.cs b/SpriteCompiler/AI/IntegerPathCost.cs index 963b45c..b6c793a 100644 --- a/SpriteCompiler/AI/IntegerPathCost.cs +++ b/SpriteCompiler/AI/IntegerPathCost.cs @@ -7,6 +7,9 @@ namespace SpriteCompiler.AI /// public sealed class IntegerCost : ICost { + public static IntegerCost ZERO = new IntegerCost(0); + public static IntegerCost ONE = new IntegerCost(1); + private readonly int value; public IntegerCost()