mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-06-25 02:29:29 +00:00
Add 0 and 1 constants
This commit is contained in:
parent
b1a3bd8f4e
commit
fda5e268d7
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user