Ejemplo 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));
 }
Ejemplo n.º 2
0
 public bool HasTempStatus(TempStatus tempStatus)
 {
     return(TempStatuses.Contains(tempStatus));
 }
Ejemplo n.º 3
0
 public virtual bool RemoveTempStatus(TempStatus tempStatus)
 {
     return(TempStatuses.Remove(tempStatus));
 }