Example #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);
        }
Example #2
0
 public Projectile(Vector2D location, IMotion motion)
     : base()
 {
     Location = new Vector3D(location.X, location.Y, ShooterLevel.WeaponsZ);
     Motion = motion;
 }
Example #3
0
 public GameObject()
 {
     if (Objects == null) Objects = new List<GameObject>();
     Location = new Vector3D(0, 0, 0);
     Objects.Add(this);
 }