Exemple #1
0
 private MidBoss(Texture2D texture, ContentManager content) : base(texture)
 {
     _content         = content;
     BulletManager    = new BulletManager(_content);
     _track           = new Midboss_Track();
     LinearVelocity   = 2f;
     RotationVelocity = 2f;
     UpdateTrack(_track.Init(this));
     ShootingTimer      = 0.3f;
     CrazyShootingTimer = 3f;
     Position           = new Vector2(256, 0);
     Direction          = new Vector2(1, 0);
     Health             = 100;
 }
Exemple #2
0
 public FinalBoss(List <Texture2D> _textures, ContentManager content)
     : base(_textures[0])
 {
     _content         = content;
     BulletManager    = new BulletManager(content);
     _track           = new Midboss_Track();
     LinearVelocity   = 2f;
     RotationVelocity = 2f;
     UpdateTrack(_track.Init(this));
     ShootingTimer      = 0.3f;
     CrazyShootingTimer = 3f;
     Position           = new Vector2(256, 0);
     Direction          = new Vector2(1, 0);
     Health             = 100;
     textures           = new List <Texture2D>();
     textures           = _textures;
 }