namespace SpriteCompiler.AI { using System; public interface IStepCostFunction where C : ICost { C StepCost(S fromState, A action, S toState); } }