コード例 #1
0
 /// <summary>
 /// Returns the name of the plume
 /// </summary>
 /// <param name="index">The plume</param>
 /// <returns></returns>
 public static string GetName(Plume index)
 {
     switch (index)
     {
     default:
         return(index.ToString());
     }
 }
コード例 #2
0
        protected EngineBase(ISpaceCraft parent, DVector2 offset, Plume plume)
        {
            Parent = parent;
            Offset = offset;

            _offsetLength   = offset.Length();
            _offsetRotation = offset.Angle() - Math.PI / 2.0;

            _plume = plume;
        }
コード例 #3
0
ファイル: Glaf.cs プロジェクト: vorodis2/rGesture
    public Game(Glaf g)
    {
        glaf    = g;
        content = glaf.mg.transform.GetChild(0).gameObject;
        content.transform.localScale = new Vector3(1f, 1f, 1f);


        blokDraw = new BlokDraw(content);
        blokDraw.setPref(glaf.arrayPrefabs[0], glaf.arrayPrefabs[1]);

        Vector3 pos = new Vector3(1.0f, 3.5f, 0f);

        blokDraw.content.transform.localPosition = pos;
        blokDraw.content.transform.localScale    = new Vector3(1f, 1f, 1f);
        plume     = new Plume(content, glaf.arrayPrefabs[0]);
        drawMouse = new DrawMouse(this, content, glaf.arrayPrefabs[2], glaf.arrayPrefabs[3]);
    }
コード例 #4
0
ファイル: Joueur.cs プロジェクト: TheOnlyMrFlow/CoBad
 public ChampsPoona(string nom, string prenom, int ageFinSaison, char sexe, string ville, string tel, string mail, Categorie categorie, string hebdoSimpleClassement, float hebdoSimpleCPPH, string hebdoDoubleClassement, float hebdoDoubleCPPH, string hebdoMixteClassement, float hebdoMixteCPPH, bool competiteurActif, bool mute, bool unss, bool fnsu, Plume meilleurPlume)
 {
     Nom                   = nom;
     Prenom                = prenom;
     AgeFinSaison          = ageFinSaison;
     Sexe                  = sexe;
     Ville                 = ville;
     Tel                   = tel;
     Mail                  = mail;
     Categorie             = categorie;
     HebdoSimpleClassement = hebdoSimpleClassement;
     HebdoSimpleCPPH       = hebdoSimpleCPPH;
     HebdoDoubleClassement = hebdoDoubleClassement;
     HebdoDoubleCPPH       = hebdoDoubleCPPH;
     HebdoMixteClassement  = hebdoMixteClassement;
     HebdoMixteCPPH        = hebdoMixteCPPH;
     CompetiteurActif      = competiteurActif;
     Mute                  = mute;
     Unss                  = unss;
     Fnsu                  = fnsu;
     MeilleurPlume         = meilleurPlume;
 }
コード例 #5
0
 /// <summary>
 /// Returns the PlumeInfo of the plume
 /// </summary>
 /// <param name="index">The plume</param>
 /// <returns></returns>
 public static PlumeInfo Get(Plume index)
 {
     return(plumes[(int)index]);
 }