Exemple #1
0
        public Stage01_EB01(TextureManager _t, Vector2D direction , Vector2D position,int color = 5)
        {
            texturemanager = _t;
            Direction.X = direction.X; Position.X = position.X;
            Direction.Y = direction.Y; Position.Y = position.Y;
            bulletbody = new BulletBodys.RoundB_B(_t, color);                        //敌机子弹皮肤(miniRice)
            speed = 100;
            BulletData bulletdata = new BulletData(Position , Direction , Scale , speed);
            contorler = new Entities.Controlors.DirectControler(bulletdata);      //选择直线控制器
            renderlevel = 0;

            //需要提前约定好
            MissTick = 61;
            MissRefresh = 60;
        }
Exemple #2
0
        public Stage01_EB01(TextureManager _t, Vector2D direction, Vector2D position, int color = 5)
        {
            texturemanager = _t;
            Direction.X    = direction.X; Position.X = position.X;
            Direction.Y    = direction.Y; Position.Y = position.Y;
            bulletbody     = new BulletBodys.RoundB_B(_t, color);                    //敌机子弹皮肤(miniRice)
            speed          = 100;
            BulletData bulletdata = new BulletData(Position, Direction, Scale, speed);

            contorler   = new Entities.Controlors.DirectControler(bulletdata);    //选择直线控制器
            renderlevel = 0;

            //需要提前约定好
            MissTick    = 61;
            MissRefresh = 60;
        }