コード例 #1
0
 public GunPart(IDs id = IDs.DEFAULT, IDs bulletID = IDs.DEFAULT_BULLET) : base(id)
 {
     reloadTimer = new Timer(RELOADTIME);
     reloadTimer.Finish();
     this.bulletID = bulletID;
     projectiles.AddExtraBullets((int)bulletID, bulletCap);
     bullet = (Projectile)projectiles.GetEntity((int)bulletID);
 }