Exemplo n.º 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);
        }
Exemplo n.º 2
0
 public GamePlayer(DBCharacter c) : base(c)
 {
     saveEvent = new GamePlayerSaveEvent(this);
     EventManager.AddEvent(saveEvent);
 }