Пример #1
0
        public PlasmaBall(Vector2D location, IMotion motion)
            : base()
        {
            Location = new Vector3D(location.X, location.Y, ShooterLevel.WeaponsZ);
            Motion = motion;

            ShooterLevel.Current.Plasma.AddPlasmaBall(this);
        }
Пример #2
0
 public Projectile(Vector2D location, IMotion motion)
     : base()
 {
     Location = new Vector3D(location.X, location.Y, ShooterLevel.WeaponsZ);
     Motion = motion;
 }
Пример #3
0
 public GameObject()
 {
     if (Objects == null) Objects = new List<GameObject>();
     Location = new Vector3D(0, 0, 0);
     Objects.Add(this);
 }