<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Common;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using BBTA.Classe.Outils;

namespace BBTA.Elements
{
    public class Roquette : Projectile
    {
        private const int RAYON_EXPLOSION_MAX = 5;

        public Roquette(World mondePhysique, Rectangle positionSpriteSheet, Vector2 positionDepart, Vector2 direction, float vitesse, Texture2D texture)
            : base(mondePhysique, new PolygonShape(PolygonTools.CreateRectangle(texture.Width / 80f, texture.Height / 80f), 1), 
                   positionSpriteSheet, positionDepart, texture, RAYON_EXPLOSION_MAX)
        {
            direction.Normalize();<commit_msg>La roquette tire plus rapidement desormais.  Bogue corrige<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FarseerPhysics.Dynamics;
using FarseerPhysics.Factories;
using FarseerPhysics.Collision.Shapes;
using FarseerPhysics.Common;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using BBTA.Classe.Outils;

namespace BBTA.Elements
{
    public class Roquette : Projectile
    {
        private const int RAYON_EXPLOSION_MAX = 5;

        public Roquette(World mondePhysique, Rectangle positionSpriteSheet, Vector2 positionDepart, Vector2 direction, float vitesse, Texture2D texture)
            : base(mondePhysique, new PolygonShape(PolygonTools.CreateRectangle(Conversion.PixelAuMetre(positionSpriteSheet.Width), Conversion.PixelAuMetre(positionSpriteSheet.Height)), 1), 
                   positionSpriteSheet, positionDepart, texture, RAYON_EXPLOSION_MAX)
        {
            direction.Normalize();
{'fraction_non_alphanumeric': 0.07692307692307693, 'fraction_numerical': 0.007227671657201859, 'mean_word_length': 4.568965517241379, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2540022', 'n_tokens_mistral': 586, 'n_tokens_neox': 576, 'n_words': 124}