2016-11-30 14:17:05 +00:00
|
|
|
|
namespace SpriteCompiler.Problem
|
|
|
|
|
{
|
|
|
|
|
using SpriteCompiler.AI;
|
|
|
|
|
|
2016-12-12 06:41:35 +00:00
|
|
|
|
public sealed class SpriteGeneratorNodeExpander : InformedNodeExpander<CodeSequence, SpriteGeneratorState, SpriteGeneratorSearchNode, IntegerCost>
|
2016-11-30 14:17:05 +00:00
|
|
|
|
{
|
|
|
|
|
public override SpriteGeneratorSearchNode CreateNode(SpriteGeneratorSearchNode parent, SpriteGeneratorState state)
|
|
|
|
|
{
|
|
|
|
|
return new SpriteGeneratorSearchNode(parent, state);
|
|
|
|
|
}
|
2016-12-12 06:41:35 +00:00
|
|
|
|
|
|
|
|
|
public override SpriteGeneratorSearchNode CreateNode(SpriteGeneratorState state)
|
|
|
|
|
{
|
|
|
|
|
return CreateNode(null, state);
|
|
|
|
|
}
|
2016-11-30 14:17:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|