예제 #1
0
 public void NextLocation()
 {
     mSkillIndex = 0;
     ++mLocationIndex;
     mLocationIndex  %= mLocationList.Count;
     mCurrentLocation = mLocationList[mLocationIndex];
 }
예제 #2
0
 public bool IsInLocation(E_BossLocation location)
 {
     if (mCurrentLocation == location)
     {
         return(true);
     }
     return(false);
 }
예제 #3
0
 public bool NeedBack()
 {
     if (mCurrentLocation == E_BossLocation.Forward)
     {
         mCurrentLocation = mLastLocation;
         return(true);
     }
     return(false);
 }
예제 #4
0
 public void ReachForward()
 {
     mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Forward;
 }
예제 #5
0
 public void ReachRight()
 {
     mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Right;
 }
예제 #6
0
 public void ReachLeft()
 {
     mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Left;
 }
예제 #7
0
 public void ReachMiddle()
 {
     mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Middle;
 }