public Bullet(Model.WeaponType weaponType, int unitId, int playerId, Model.Vec2Double position, Model.Vec2Double velocity, int damage, double size, Model.ExplosionParameters?explosionParameters) { this.WeaponType = weaponType; this.UnitId = unitId; this.PlayerId = playerId; this.Position = position; this.Velocity = velocity; this.Damage = damage; this.Size = size; this.ExplosionParameters = explosionParameters; }
public Weapon(Model.WeaponType typ, Model.WeaponParameters parameters, int magazine, bool wasShooting, double spread, double?fireTimer, double?lastAngle, int?lastFireTick) { this.Typ = typ; this.Parameters = parameters; this.Magazine = magazine; this.WasShooting = wasShooting; this.Spread = spread; this.FireTimer = fireTimer; this.LastAngle = lastAngle; this.LastFireTick = lastFireTick; }
public Weapon(Model.WeaponType weaponType) { this.WeaponType = weaponType; }