Beispiel #1
0
        internal Player(string name,Map m,int PlayerID)
        {
            Map = m;
            Name = name;

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

        }
Beispiel #2
0
        public Unit(Map m) : base(m)
        {

        }
Beispiel #3
0
        public Projectile(Map m,Unit o) : base(m)
        {

            Owner = o;
        }
Beispiel #4
0
 public GameObject(Map m)
 {
     Map = m;
     Map.AddObject(this);
 }