Esempio n. 1
0
		public void RandomQuote ()
		{
			Message[] quotes = new Message[6];
			quotes [0] = new Message ("The way forward becomes clear.", Message.MessageType.MyteriousEvent);
			quotes [1] = new Message ("The weight of the world seems lighter.", Message.MessageType.Buff);
			quotes [2] = new Message ("Death's advocate approaches...", Message.MessageType.BadEvent);
			quotes [3] = new Message ("The darkness here is tangible and unatural...", Message.MessageType.Debuff);
			quotes [4] = new Message ("Your experience teaches you well.", Message.MessageType.Buff);
			quotes [5] = new Message ("A marvelous gem...", Message.MessageType.GoodEvent);

			messages.Add (quotes [rand.Next (6)]);
		}
Esempio n. 2
0
		public void AddMessage (string message, Message.MessageType type)
		{
			messages.Add (new Message (message, type));
		}