Exemplo n.º 1
0
 /// <summary>
 ///     初始化精灵动作
 /// </summary>
 private void InitSpriteAction()
 {
     _alphaAction     = new TSpriteAction();
     _xAction         = new TSpriteAction();
     _yAction         = new TSpriteAction();
     _scaleXAction    = new TSpriteAction();
     _scaleYAction    = new TSpriteAction();
     _rotateAction    = new TSpriteAction();
     _colorAction     = new TSpriteAction();
     _parameterAction = new TSpriteAction();
 }
Exemplo n.º 2
0
 /// <summary>
 ///     设置Parameter动作
 /// </summary>
 public void SetParameterAction(TSpriteAction pParameterAction)
 {
     _parameterAction = pParameterAction;
 }
Exemplo n.º 3
0
 /// <summary>
 ///     设置Color动作
 /// </summary>
 public void SetColorAction(TSpriteAction pColorAction)
 {
     _colorAction = pColorAction;
 }
Exemplo n.º 4
0
 /// <summary>
 ///     设置Rotate动作
 /// </summary>
 public void SetRotateAction(TSpriteAction pRotateAction)
 {
     _rotateAction = pRotateAction;
 }
Exemplo n.º 5
0
 /// <summary>
 ///     设置ScaleY动作
 /// </summary>
 public void SetScaleYAction(TSpriteAction pScaleAction)
 {
     _scaleYAction = pScaleAction;
 }
Exemplo n.º 6
0
 /// <summary>
 ///     设置Y轴动作
 /// </summary>
 public void SetYAction(TSpriteAction pYAction)
 {
     _yAction = pYAction;
 }
Exemplo n.º 7
0
 /// <summary>
 ///     设置X轴动作
 /// </summary>
 public void SetXAction(TSpriteAction pXAction)
 {
     _xAction = pXAction;
 }
Exemplo n.º 8
0
 /// <summary>
 ///     设置Alpha动作
 /// </summary>
 public void SetAlphaAction(TSpriteAction pAlphaAction)
 {
     _alphaAction = pAlphaAction;
 }