public Bullet(Entity shooter, float offsetAngle, float damage, int size, Color color) : base(Globals.bullet, shooter.GetPosition(), size, new Rectangle(0, 0, 10, 5)) { this.owner = shooter; this.speed = 800; this.damage = damage; this.color = color; rotation = shooter.GetRotation(); direction = new Vector2((float)Math.Cos(rotation + offsetAngle), (float)Math.Sin(rotation + offsetAngle)); position = shooter.GetPosition() + (direction * shooter.GetMaxRadius()); }