Exemplo n.º 1
0
 /// <summary>
 /// 初始化精灵动作
 /// </summary>
 private void InitSpriteAction()
 {
     this.alphaAction = new TSpriteAction();
     this.xAction = new TSpriteAction();
     this.yAction = new TSpriteAction();
     this.scaleXAction = new TSpriteAction();
     this.scaleYAction = new TSpriteAction();
     this.rotateAction = new TSpriteAction();
     this.colorAction = new TSpriteAction();
     this.parameterAction = new TSpriteAction();
 }
Exemplo n.º 2
0
 /// <summary>
 /// 设置X轴动作
 /// </summary>
 public void SetXAction(TSpriteAction pXAction)
 {
     this.xAction = pXAction;
 }
Exemplo n.º 3
0
 /// <summary>
 /// 设置Y轴动作
 /// </summary>
 public void SetYAction(TSpriteAction pYAction)
 {
     this.yAction = pYAction;
 }
Exemplo n.º 4
0
 /// <summary>
 /// 设置Rotate动作
 /// </summary>
 public void SetRotateAction(TSpriteAction pRotateAction)
 {
     this.rotateAction = pRotateAction;
 }
Exemplo n.º 5
0
 /// <summary>
 /// 设置ScaleY动作
 /// </summary>
 public void SetScaleYAction(TSpriteAction pScaleAction)
 {
     this.scaleYAction = pScaleAction;
 }
Exemplo n.º 6
0
 /// <summary>
 /// 设置Color动作
 /// </summary>
 public void SetColorAction(TSpriteAction pColorAction)
 {
     this.colorAction = pColorAction;
 }
Exemplo n.º 7
0
 /// <summary>
 /// 设置Parameter动作
 /// </summary>
 public void SetParameterAction(TSpriteAction pParameterAction)
 {
     this.parameterAction = pParameterAction;
 }
Exemplo n.º 8
0
 /// <summary>
 /// 设置Alpha动作
 /// </summary>
 public void SetAlphaAction(TSpriteAction pAlphaAction)
 {
     this.alphaAction = pAlphaAction;
 }
Exemplo n.º 9
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.º 10
0
 /// <summary>
 ///     设置Y轴动作
 /// </summary>
 public void SetYAction(TSpriteAction pYAction)
 {
     _yAction = pYAction;
 }
Exemplo n.º 11
0
 /// <summary>
 ///     设置X轴动作
 /// </summary>
 public void SetXAction(TSpriteAction pXAction)
 {
     _xAction = pXAction;
 }
Exemplo n.º 12
0
 /// <summary>
 ///     设置ScaleX动作
 /// </summary>
 public void SetScaleXAction(TSpriteAction pScaleAction)
 {
     _scaleXAction = pScaleAction;
 }