Exemplo n.º 1
0
        public void player_left(GameConnection connection)
        {
            var avatar = m_PlayerManager.Players.Find(p => p.Data.CharacterID == connection.CharacterID);

            m_PlayerManager.remove(avatar);
        }
Exemplo n.º 2
0
 public PlayerAvatar player_join(GameConnection connection, Vector3f position, float rotation = 0f)
 {
     return(m_PlayerManager.add(position, rotation));
 }