Beispiel #1
0
 public Squid(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel) :
     base(tex, centre, pos, sourceRect, vel)
 {
     weapon = new squidGun();
     health = 1;
     Velocity = new Vector2(-4,1);
     rand = new Random();
 }
Beispiel #2
0
 public Squid(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel) :
     base(tex, centre, pos, sourceRect, vel)
 {
     weapon   = new squidGun();
     health   = 1;
     Velocity = new Vector2(-4, 1);
     rand     = new Random();
 }