You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

BombedBullet.cs 743 B

12345678910111213141516171819202122
  1. using Preparation.Utility;
  2. namespace GameClass.GameObj
  3. {
  4. // 为方便界面组做子弹爆炸特效,现引入“爆炸中的子弹”,在每帧发送给界面组
  5. public sealed class BombedBullet : GameObj
  6. {
  7. public override ShapeType Shape => ShapeType.Circle;
  8. public override bool IsRigid => false;
  9. public long MappingID { get; }
  10. public Bullet bulletHasBombed;
  11. public BombedBullet(Bullet bullet) :
  12. base(bullet.Position, bullet.Radius, GameObjType.BombedBullet)
  13. {
  14. this.place = bullet.Place;
  15. this.bulletHasBombed = bullet;
  16. this.MappingID = bullet.ID;
  17. this.FacingDirection = bullet.FacingDirection;
  18. }
  19. }
  20. }