コード例 #1
0
 public Mine(int playerId, Model.Vec2Double position, Model.Vec2Double size, Model.MineState state, double?timer, double triggerRadius, Model.ExplosionParameters explosionParameters)
 {
     this.PlayerId            = playerId;
     this.Position            = position;
     this.Size                = size;
     this.State               = state;
     this.Timer               = timer;
     this.TriggerRadius       = triggerRadius;
     this.ExplosionParameters = explosionParameters;
 }
コード例 #2
0
ファイル: Properties.cs プロジェクト: aangairbender/RAIC2019
 public Properties(int maxTickCount, int teamSize, double ticksPerSecond, int updatesPerTick, Model.Vec2Double lootBoxSize, Model.Vec2Double unitSize, double unitMaxHorizontalSpeed, double unitFallSpeed, double unitJumpTime, double unitJumpSpeed, double jumpPadJumpTime, double jumpPadJumpSpeed, int unitMaxHealth, int healthPackHealth, System.Collections.Generic.IDictionary <Model.WeaponType, Model.WeaponParameters> weaponParameters, Model.Vec2Double mineSize, Model.ExplosionParameters mineExplosionParameters, double minePrepareTime, double mineTriggerTime, double mineTriggerRadius, int killScore)
 {
     this.MaxTickCount            = maxTickCount;
     this.TeamSize                = teamSize;
     this.TicksPerSecond          = ticksPerSecond;
     this.UpdatesPerTick          = updatesPerTick;
     this.LootBoxSize             = lootBoxSize;
     this.UnitSize                = unitSize;
     this.UnitMaxHorizontalSpeed  = unitMaxHorizontalSpeed;
     this.UnitFallSpeed           = unitFallSpeed;
     this.UnitJumpTime            = unitJumpTime;
     this.UnitJumpSpeed           = unitJumpSpeed;
     this.JumpPadJumpTime         = jumpPadJumpTime;
     this.JumpPadJumpSpeed        = jumpPadJumpSpeed;
     this.UnitMaxHealth           = unitMaxHealth;
     this.HealthPackHealth        = healthPackHealth;
     this.WeaponParameters        = weaponParameters;
     this.MineSize                = mineSize;
     this.MineExplosionParameters = mineExplosionParameters;
     this.MinePrepareTime         = minePrepareTime;
     this.MineTriggerTime         = mineTriggerTime;
     this.MineTriggerRadius       = mineTriggerRadius;
     this.KillScore               = killScore;
 }