Ejemplo n.º 1
0
        Sprite RedEsc;              //子弹消失时候的显示旋转红符


        public ReimuBullet_Dir(TextureManager texturemanager, Vector2D direction)
        {
            bulletbody = new RedCard(texturemanager);
            direction.Normalize();
            this.Direction.X = direction.X;
            this.Direction.Y = direction.Y;

            attack = 100;
            speed  = 800;

            RedEsc = (new RedBox(texturemanager)).GetSprite();
        }
Ejemplo n.º 2
0
        float _alpha; //那段时间的透明值

        #endregion Fields

        #region Constructors

        public ReimuBullet_Dir(TextureManager texturemanager, Vector2D direction)
        {
            bulletbody = new RedCard(texturemanager);
            direction.Normalize();
            this.Direction.X = direction.X;
            this.Direction.Y = direction.Y;

            attack = 100;
            speed = 800;

            RedEsc = (new RedBox(texturemanager)).GetSprite();
        }