Exemplo n.º 1
0
        public void LoadRandomStartParts()
        {
            AvailableParts.Clear( );

            this.Head      = HeadGenerator.GenerateRandomHead(PartClass.ClassOne);
            this.Core      = CoreGenerator.GenerateRandomCore(PartClass.ClassOne);
            this.LeftArm   = LeftArmGenerator.GenerateLeftArm(PartClass.ClassOne);
            this.RightArm  = RightArmGenerator.GenerateRightArm(PartClass.ClassOne);
            this.Shoulders = ShoulderGenerator.GetRandomShoulder(PartClass.ClassOne);
            this.Legs      = LegGenerator.GenerateRandomLegs(PartClass.ClassOne);

            AvailableParts.Add(this.head);
            AvailableParts.Add(this.core);
            AvailableParts.Add(this.leftArm);
            AvailableParts.Add(this.rightArm);
            AvailableParts.Add(this.shoulders);
            AvailableParts.Add(this.legs);
        }
Exemplo n.º 2
0
        public void LoadDefaultParts()
        {
            AvailableParts.Clear( );

            this.Head      = new Head("DMB-Head", PartClass.ClassOne, EnemyScanAbility.None, 0);
            this.Core      = new Core("BC-STD Base", PartClass.ClassOne, 10, false);
            this.LeftArm   = new LeftArm("STAB-STD", PartClass.ClassOne, 1, 3);
            this.RightArm  = new RightArm("PEA-SHOT", PartClass.ClassOne, 0.25f, 5, 250, 4, RightArmGenerator.bulletTextureList[0]);
            this.Shoulders = new Shoulders("LTT-BOM", PartClass.ClassOne, 0.5f, 5, 0);
            this.Legs      = new Legs("LG-Basic I", PartClass.ClassOne, 0.2f, MovementType.BasicGround( ));

            AvailableParts.Add(this.head);
            AvailableParts.Add(this.core);
            AvailableParts.Add(this.leftArm);
            AvailableParts.Add(this.rightArm);
            AvailableParts.Add(this.shoulders);
            AvailableParts.Add(this.legs);
        }