Exemplo n.º 1
0
        protected virtual void OnPlayerEntityChanged(PlayerEntityChangedEventArgs e)
        {
            var handler = PlayerEntityChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Exemplo n.º 2
0
 private void _playerEntityManager_PlayerEntityChanged(object sender, PlayerEntityChangedEventArgs e)
 {
     //Player character has been updated.
     UpdateEntity(_playerEntityManager.Player);
 }