SendPrompt() public method

public SendPrompt ( ) : void
return void
Esempio n. 1
0
 private static bool CheckPlayerIsAlive(Player p)
 {
     if (p.CurrentHealth <= 0)
     {
         p.SendMessage("You can't do that while dead.");
         p.SendPrompt();
         return(false);
     }
     return(true);
 }
Esempio n. 2
0
 private static bool CheckPlayerIsAlive(Player p)
 {
     if (p.CurrentHealth <= 0) {
         p.SendMessage("You can't do that while dead.");
         p.SendPrompt();
         return false;
     }
     return true;
 }