phaser4-rex-plugins
Version:
19 lines (15 loc) • 437 B
TypeScript
import Decorator from '../Decorator';
import BaseNode from '../BaseNode.js';
export default TimeLimit;
declare namespace TimeLimit {
interface IConfig extends Decorator.IConfig {
duration?: BaseNode.ExpressionValue;
returnSuccess?: boolean;
}
}
declare class TimeLimit extends Decorator {
constructor(
config?: TimeLimit.IConfig,
nodePool?: BaseNode.NodePoolType
);
}