Пример #1
0
        public GamePlayer(DBCharacter c) : base(c)
        {
            if (base.Health < 0)
            {
                base.Dead = true;
            }
            saveEvent = new GamePlayerSaveEvent(this);
            EventManager.AddEvent(saveEvent);

            playerregen = new PlayerRegen(this);
            EventManager.AddEvent(playerregen);
        }
Пример #2
0
 public GamePlayer(DBCharacter c) : base(c)
 {
     saveEvent = new GamePlayerSaveEvent(this);
     EventManager.AddEvent(saveEvent);
 }