Esempio n. 1
0
 /// <summary>
 /// Attempt to add a temporary status to the monster.
 /// If the status is Mini, the monster is instead killed.
 /// </summary>
 /// <returns>Whether or not the status was successfully added</returns>
 public virtual bool AddTempStatus(TempStatus tempStatus)
 {
     if (tempStatus == TempStatus.Mini)
     {
         // TODO: Animation?
         Kill();
     }
     return(TempStatuses.Add(tempStatus));
 }
Esempio n. 2
0
 public bool HasTempStatus(TempStatus tempStatus)
 {
     return(TempStatuses.Contains(tempStatus));
 }
Esempio n. 3
0
 public virtual bool RemoveTempStatus(TempStatus tempStatus)
 {
     return(TempStatuses.Remove(tempStatus));
 }