public void NextLocation() { mSkillIndex = 0; ++mLocationIndex; mLocationIndex %= mLocationList.Count; mCurrentLocation = mLocationList[mLocationIndex]; }
public bool IsInLocation(E_BossLocation location) { if (mCurrentLocation == location) { return(true); } return(false); }
public bool NeedBack() { if (mCurrentLocation == E_BossLocation.Forward) { mCurrentLocation = mLastLocation; return(true); } return(false); }
public void ReachForward() { mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Forward; }
public void ReachRight() { mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Right; }
public void ReachLeft() { mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Left; }
public void ReachMiddle() { mLastLocation = mCurrentLocation; mCurrentLocation = E_BossLocation.Middle; }