Beispiel #1
0
 public void SetLink(Animation.State onState, Animation.State toState, int frameOnStart, bool onFrameComplete = true)
 {
     this.onState = onState;
     this.toState = toState;
     this.onFrameState = (frameOnStart - 1);
     this.onFrameComplete = onFrameComplete;
 }
Beispiel #2
0
 public void Reset()
 {
     lastAttackFrame = -1;
     hitByAttackId = hitByStaticAttackId = - 1;
     lastAttackState = Animation.State.NONE;
     hitByAttackFrameCount = 0;
     hitPauseTime = 0;
 }
Beispiel #3
0
 public Move(Animation.State state, float expireTime, int cancelFrame)
 {
     this.state = state;
     this.expireTime = expireTime;
     this.cancelFrame = cancelFrame - 1;
 }