public LineWidthState ( |
||
action | ||
target | CCNode | |
endWidth | float | |
Résultat | System |
public LineWidthState (LineWidthAction action, CCNode target, float endWidth) : base (action, target)
{
castedTarget = target as LineNode;
if (castedTarget == null) {
throw new InvalidOperationException ("The argument target must be a LineNode");
}
startWidth = castedTarget.Width;
deltaWidth = endWidth - startWidth;
}