mirror of
https://github.com/lscharen/iigs-sprite-compiler.git
synced 2024-10-12 03:23:41 +00:00
18 lines
595 B
C#
18 lines
595 B
C#
namespace SpriteCompiler.Problem
|
|
{
|
|
using SpriteCompiler.AI;
|
|
|
|
public sealed class SpriteGeneratorNodeExpander : InformedNodeExpander<CodeSequence, SpriteGeneratorState, SpriteGeneratorSearchNode, IntegerCost>
|
|
{
|
|
public override SpriteGeneratorSearchNode CreateNode(SpriteGeneratorSearchNode parent, SpriteGeneratorState state)
|
|
{
|
|
return new SpriteGeneratorSearchNode(parent, state);
|
|
}
|
|
|
|
public override SpriteGeneratorSearchNode CreateNode(SpriteGeneratorState state)
|
|
{
|
|
return CreateNode(null, state);
|
|
}
|
|
}
|
|
}
|