Exemplo n.º 1
0
        public Macedonia(Vector3 position, float orientation)
            : base("macedonia", position, orientation, 4)
        {
            life = LIFE;
            idleTime = 0;
            changeState(tMacedoniaBossState.Init);

            lifebar = new Lifebar("macedonia", this, new Vector2(0.6f, 0.6f), new Vector2(0.0f, 170.0f), Color.White);

            for(int i=0; i<MAX_RAYOS; i++)
            {
                rayo[i] = new AnimatedEntity2D("animatedProps", "macedoniaWeaponBody", Vector3.Zero, 0, Color.White);
                //rayo[i].scale = new Vector3(rayo[i].scale.X * 2, rayo[i].scale.Y, rayo[i].scale.Z);
            }
            rayoEnd = new AnimatedEntity2D("animatedProps", "macedoniaWeaponEnd", Vector3.Zero, 0, Color.White);
            //rayoEnd.scale = new Vector3(rayoEnd.scale.X * 2, rayoEnd.scale.Y, rayoEnd.scale.Z);

            showRayo(false);

            visible = false;

            //scale *= 2;

            loadIntroCinematic();
            //loadEndCinematic();
        }
Exemplo n.º 2
0
 public KingTomato(Vector3 position, float orientation)
     : base("kingTomato", position, orientation, 1)
 {
     life = LIFE;
     setCollisions();
     lifebar = new Lifebar("kingTomato", this, new Vector2(0.8f, 0.8f), new Vector2(0.0f, 170.0f), Color.White);
     state = tState.Commanding;
     avoidDelete = true;
 }
Exemplo n.º 3
0
        public Painapple(Vector3 position, float orientation)
            : base("painapple", position, orientation, 1)
        {
            life = LIFE;
            setCollisions();

            lifebar = new Lifebar("macedonia", this, new Vector2(0.6f, 0.6f), new Vector2(0.0f, 140.0f), Color.White);

            changeState(tPainAppleStates.COME);
        }