Example #1
0
        public Invader(Vector2 location, int health) : base(location, 60, health, Vector2.Zero, -1)
        {
            Vector2 halfSize = new Vector2(84, 60.5f);

            shape = new SurfaceTower.Model.Shape.Rectangle(location - halfSize, location + halfSize);
        }
Example #2
0
 public Invader(Vector2 location, int health) : base(location, 60, health, Vector2.Zero, -1)
 {
   Vector2 halfSize = new Vector2(84, 60.5f);
   shape = new SurfaceTower.Model.Shape.Rectangle(location - halfSize, location + halfSize);
 }