public Gun(Vector2 position, int width, int height, GunSize size, float speed) { Position = position; Width = width; Height = height; Size = size; MoveSpeed = speed; Center = new Vector2(Position.X + width / 2, Position.Y + height / 2); }
public ClosedloopGun(byte id, GunSize size, float wheelRadius) : base(id, size) { WheelRadius = wheelRadius; }
public PwmGun(byte id, GunSize size) : base(id, size) { DutyRatioSpeedTable = new LinearInterpolationLookupTable( ); }
public Gun(byte id, GunSize size) { Id = id; Size = size; }