Esempio n. 1
0
 void Update()
 {
     if (Input.GetKeyDown(KeyCode.Q))
     {
         CreateAlert(new AlertData("TEST ALERT", IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Green);
     }
 }
Esempio n. 2
0
 public static void StarfishEscapeWarningAlert(int seconds)
 {
     GameController.Current.TC.CreateAlert(new AlertData("Starfish will escape from jail in " + seconds + " seconds!",
                                                         IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Yellow);
 }
Esempio n. 3
0
 public static void EnemyEscapedAlert(string enemyName, int quantity = 1)
 {
     GameController.Current.TC.CreateAlert(new AlertData(quantity + " " + enemyName + "(s) have escaped from prison!",
                                                         IconRegistry.GetIcon(IconRegistry.AlertIcons, 0)), AlertColorArray.Red);
 }
Esempio n. 4
0
 public static void StarfishBreakoutAlert()
 {
     GameController.Current.TC.CreateAlert(new AlertData("Starfish is going to break an enemy out of prison!",
                                                         IconRegistry.GetIcon(IconRegistry.WarningIcons, 0)), AlertColorArray.Yellow);
 }