Esempio 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);
        }
Esempio n. 2
0
 public PlayerAvatar player_join(GameConnection connection, Vector3f position, float rotation = 0f)
 {
     return(m_PlayerManager.add(position, rotation));
 }