1  /**
     2   * SpecialPropertyModifier
     3   * A special property which actually acts on other properties
     4   *
     5   * @author		Zeh Fernando
     6   * @version		1.0.0
     7   * @private
     8   */
     9  
    10  class caurina.transitions.SpecialPropertyModifier {
    11  
    12  	public var modifyValues:Function;
    13  	public var getValue:Function;
    14  
    15  	/**
    16  	 * Builds a new special property modifier object.
    17  	 * 
    18  	 * @param		p_modifyFunction		Function		Function that returns the modifider parameters.
    19  	 */
    20  	public function SpecialPropertyModifier (p_modifyFunction:Function, p_getFunction:Function) {
    21  		modifyValues = p_modifyFunction;
    22  		getValue = p_getFunction;
    23  	}
    24  
    25  	/**
    26  	 * Converts the instance to a string that can be used when trace()ing the object
    27  	 */
    28  	public function toString():String {
    29  		var value:String = "";
    30  		value += "[SpecialPropertyModifier ";
    31  		value += "modifyValues:"+modifyValues.toString();
    32  		value += ", ";
    33  		value += "getValue:"+getValue.toString();
    34  		value += "]";
    35  		return value;
    36  	}
    37  
    38  
    39  }
    40