using UnityEngine; using System.Collections; namespace JungleDB { public class NetworkDeleteChildAtOperation : NodeOperation { private int Position; public NetworkDeleteChildAtOperation () { } public NetworkDeleteChildAtOperation(int pos) { this.Position = pos; } public Command getCommand () { return Command.DELETE_CHILD; } public Either invoke (TreeNode target) { return target.getChildren().deleteChildAt(this.Position); } public int getPosition () { return this.Position; } public string getKey() { return null; } public object getValue () { return null; } } }