コード例 #1
0
ファイル: Leaf.cs プロジェクト: siquel/BeatEmUp
        public Leaf(NodeUpdateDelegate updateDelegate)
            : base()
        {
            if (updateDelegate == null)
            {
                throw new ArgumentNullException("updateDelegate");
            }

            this.updateDelegate = updateDelegate;
        }
コード例 #2
0
        public Decorator(NodeUpdateDelegate updateDelegate, Node child)
            : base(updateDelegate)
        {
            if (child == null)
            {
                throw new ArgumentNullException("child");
            }

            this.child = child;
        }
コード例 #3
0
ファイル: RepeatUntil.cs プロジェクト: siquel/BeatEmUp
        public RepeatUntil(Func <bool> condition, NodeUpdateDelegate updateDelegate, Node child)
            : base(updateDelegate, child)
        {
            if (condition == null)
            {
                throw new ArgumentNullException("condition");
            }

            this.condition = condition;
        }
コード例 #4
0
 public Succeeder(NodeUpdateDelegate updateDelegate, Node child)
     : base(updateDelegate, child)
 {
 }
コード例 #5
0
ファイル: Inverter.cs プロジェクト: siquel/BeatEmUp
 public Inverter(NodeUpdateDelegate updateDelegate, Node child)
     : base(updateDelegate, child)
 {
 }