using Chernobyl.Account; using Chernobyl.Collections.Generic.Event; using Chernobyl.Game.Group; namespace Chernobyl.Game { /// /// An that is used to represent a game that is started /// within a game application (i.e., "Start a new game"). These games are /// sometimes also called a level or match, depending on the genre of the /// game application. /// /// Instances of this type contain the following services by default: /// /// /// An of /// instances. This service contains all of the /// players (in the form of instances) that are /// playing this game. Each instance contains /// the services specific to that player. /// /// /// /// An instance that /// indicates whether a game is paused or not. If enabled, the game /// is not paused. If disabled, the game is paused. /// /// /// /// An of /// instances. This service contains all of the /// teams or alliances present in the current game. /// /// /// public class Game : DecoratingEventList, IGame { /// /// Initializes a new instance of the class. /// public Game() { Add(new DecoratingEventList()); Add(new Enableable()); Add(new DecoratingEventList()); } } }