Esempio n. 1
0
        public Bellet1(DrawTool drawTool, Vector2 point) : base(drawTool)
        {
            damege     = 5;
            Picture    = "・";
            Point      = point;
            Vector     = new Vector2(0, -6);
            Count      = 0;
            LimitCount = 600;

            Name = drawTool.AddLabel(Picture);
        }
Esempio n. 2
0
        /*
         * public Bellet2(DrawTool drawTool, Vector2 point) : base(drawTool)
         * {
         *  damege = 5;
         *  Picture = "・";
         *  Point = point;
         *  Vector = new Vector2(0, -6);
         *  Count = 0;
         *  LimitCount = 600;
         *
         *  Name = drawTool.AddLabel(Picture);
         * }
         *
         * public Bellet2(DrawTool drawTool, Vector2 point, bool teki) : base(drawTool)
         * {
         *  damege = 5;
         *  Picture = "・";
         *  Point = point;
         *  Vector = new Vector2(0, 6);
         *  Count = 0;
         *  LimitCount = 600;
         *
         *  Name = drawTool.AddLabel(Picture);
         * }*/


        public Bellet2(DrawTool drawTool, Vector2 point, MoveObject moveObject) : base(drawTool)
        {
            damege     = 5;
            Picture    = "◎";
            Point      = point;
            Vector     = new Vector2(0, 0);
            Count      = 0;
            LimitCount = 600;

            Name = drawTool.AddLabel(Picture);

            target    = moveObject;
            MaxDegree = (float)(((Math.PI * 10) / 180));//約10度がマックス
        }
Esempio n. 3
0
        public Character(DrawTool drawTool, string pic, Vector2 point) : this(drawTool)
        {
            this.Hp       = 10;
            this.DrawTool = drawTool;
            this.Picture  = pic;
            this.Point    = point;
            this.Vector   = new Vector2(0, 0);

            IsShot       = false;
            IntervalShot = 6;
            ShotTimer    = 0;

            Name = DrawTool.AddLabel(this.Picture);
        }