Пример #1
0
        internal Player(string name,Map m,int PlayerID)
        {
            Map = m;
            Name = name;

            mainUnit = new Unit(m);
            mainUnit.Position = new Vector(100, 100);

        }
Пример #2
0
        public Unit(Map m) : base(m)
        {

        }
Пример #3
0
        public Projectile(Map m,Unit o) : base(m)
        {

            Owner = o;
        }
Пример #4
0
 public GameObject(Map m)
 {
     Map = m;
     Map.AddObject(this);
 }