A little more work. FINISHED HAARA TEXT, THANKS PRESIDENT BOTIS.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / INode.as
blobbca923af1d643c0fd082998b7c2a2c91b4de57f2
1 package org.sevenchan.dongs
4 /**
5 * ...
6 * @author Harbinger
7 */
8 public interface INode
9 {
10 function get name():String;
11 function get description():String;
12 function get parent():INode;
13 function get children():Vector.<INode>;
14 function pushChild(child:INode):void;
15 function clearChildren():void;
16 function pushMenu(name:String, desc:String, conditionalCallback:Function = null):MenuNode;
17 function pushAction(name:String, cost:int, desc:String, callback:Function, arg:*=null):ActionNode;
18 function get content():String;
19 function set content(val:String):void;
20 function get canGoBack():Boolean;
21 function set canGoBack(value:Boolean):void;