12345678910111213141516171819202122232425262728 |
- #region File Description
- //-----------------------------------------------------------------------------
- // IMessageDisplay.cs
- //
- // Microsoft XNA Community Game Platform
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- #endregion
- #region Using Statements
- using Microsoft.Xna.Framework;
- #endregion
- namespace CatapultGame
- {
- /// <summary>
- /// Interface used to display notification messages when interesting events occur,
- /// for instance when gamers join or leave the network session. This interface
- /// is registered as a service, so any piece of code wanting to display a message
- /// can look it up from Game.Services, without needing to worry about how the
- /// message display is implemented. In this sample, the MessageDisplayComponent
- /// class implement this IMessageDisplay service.
- /// </summary>
- interface IMessageDisplay : IDrawable, IUpdateable
- {
- void ShowMessage(string message, params object[] parameters);
- }
- }
|