mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2025-08-14 12:26:47 +00:00
Add 0 and 1 constants
This commit is contained in:
@@ -7,6 +7,9 @@ namespace SpriteCompiler.AI
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public sealed class IntegerCost : ICost<IntegerCost>
|
public sealed class IntegerCost : ICost<IntegerCost>
|
||||||
{
|
{
|
||||||
|
public static IntegerCost ZERO = new IntegerCost(0);
|
||||||
|
public static IntegerCost ONE = new IntegerCost(1);
|
||||||
|
|
||||||
private readonly int value;
|
private readonly int value;
|
||||||
|
|
||||||
public IntegerCost()
|
public IntegerCost()
|
||||||
|
Reference in New Issue
Block a user