using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;


namespace Multiplayer
{

    public class Player
    {

        public byte ID;

        public NetworkConnection Connection;

        public Vector3 Position { get; set; }
        public Quaternion Rotation { get; set; }

        public string Name { get; private set; }


        public Player(NetworkConnection Connection, string Name)
        {
            this.ID = (byte)Connection.connectionId;
            this.Connection = Connection;
            this.Name = Name;
        }


    }

}