Exemplo n.º 1
0
 public hermitCrab(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel, gameObject target) :
     base(tex, centre, pos, sourceRect, vel)
 {
     weapon   = new crabGun(target);
     Velocity = new Vector2(1, 0.1f);
     health   = 3;
 }
Exemplo n.º 2
0
 public hermitCrab(Texture2D tex, Vector2 centre, Vector2 pos, Rectangle sourceRect, Vector2 vel, gameObject target) :
     base(tex, centre, pos, sourceRect, vel)
 {
     weapon = new crabGun(target);
     Velocity = new Vector2(1, 0.1f);
     health = 3;
 }