示例#1
0
文件: Game.cs 项目: kamilion/WISP
 public Game()
 {
     GameID = Guid.NewGuid();
     Players = new Dictionary<int, ICharacterInfo>();
     Observers = new Dictionary<int, ICharacterInfo>();
     EverActivePlayers = new Dictionary<int, ICharacterInfo>();
     IsShuttingDown = false;
     Properties = new PropertyBag("GameProperties");
     Properties.SubscribeToChangeNotifications(this);
     Owner = 0;
     AbandonedTimestamp = DateTime.MaxValue;
     ObjectManager = new GameObjectManager(GameID);
 }
示例#2
0
文件: Game.cs 项目: Amitkapadi/WISP
 public Game()
 {
     GameID            = Guid.NewGuid();
     Players           = new Dictionary <int, ICharacterInfo>();
     Observers         = new Dictionary <int, ICharacterInfo>();
     EverActivePlayers = new Dictionary <int, ICharacterInfo>();
     IsShuttingDown    = false;
     Properties        = new PropertyBag("GameProperties");
     Properties.SubscribeToChangeNotifications(this);
     Owner = 0;
     AbandonedTimestamp = DateTime.MaxValue;
     ObjectManager      = new GameObjectManager(GameID);
 }