public void Promote()
 {
     if (CurrentTitle.GetNextLevel() != null && CurrentTitle.GetNextLevel().MeetsRequirements(this))
     {
         CurrentTitle = CurrentTitle.GetNextLevel();
     }
     GiveRaise(0.2f);
 }
Beispiel #2
0
    public void Promote()
    {
        if (CurrentTitle.GetNextLevel() != null && CurrentTitle.GetNextLevel().MeetsRequirements(Character.MyCharacter))
        {
            CurrentTitle = CurrentTitle.GetNextLevel();
        }
        GiveRaise(0.2f);

        InformationPanelManager.Instance.DisplayMessage(
            string.Format("You've been promoted to {0} at {1}!", CurrentTitle.Name, CompanyName), 2.0f);
    }