Little tweaks to documentation
[potlatch2.git] / net / systemeD / potlatch2 / EditController.as
index 21b84b3be1dff56488f55015bf516281a876cbea..5daee281c6ede1a695f5f5cb7e2812a24d277712 100644 (file)
@@ -22,7 +22,8 @@ package net.systemeD.potlatch2 {
         private var _map:Map;
         public var tagViewer:TagViewer;
                private var toolbox:Toolbox;
         private var _map:Map;
         public var tagViewer:TagViewer;
                private var toolbox:Toolbox;
-        
+
+        /** The current ControllerState */
         public var state:ControllerState;
         
                private var keys:Object={};
         public var state:ControllerState;
         
                private var keys:Object={};
@@ -144,7 +145,9 @@ package net.systemeD.potlatch2 {
                        return true;
                }
 
                        return true;
                }
 
-        /** Exit the current state and switch to a new one. */
+        /** Exit the current state and switch to a new one.
+        *
+        *   @param newState The ControllerState to switch to. */
         public function setState(newState:ControllerState):void {
             if ( newState == state )
                 return;
         public function setState(newState:ControllerState):void {
             if ( newState == state )
                 return;