Beispiel #1
0
 public OctUpMovingState(Oct oct, IEnemyFactory factory)
 {
     die          = false;
     this.Oct     = oct;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
 public BlueMDownMovingState(BlueM bluem, IEnemyFactory factory)
 {
     die          = false;
     this.BlueM   = bluem;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
Beispiel #3
0
 public BlueOctLeftMovingState(BlueOct blueoct, IEnemyFactory factory)
 {
     die          = false;
     this.BlueOct = blueoct;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
Beispiel #4
0
 public EnemyArrow(Vector2 Position, Vector2 direction, IEnemyFactory factory)
 {
     MovingSpeed   = 40;
     this.Position = Position + new Vector2(30, 30);
     Direction     = direction;
     damaging      = false;
     timer         = 0;
     exist         = true;
     if (Direction.X == (float)1)
     {
         GetSprite = new GeneralSprite(20, 50, 1);
     }
     else if (Direction.X == (float)-1)
     {
         GetSprite = new GeneralSprite(20, 50, 1);
     }
     else if (Direction.Y == (float)1)
     {
         GetSprite = new GeneralSprite(50, 20, 1);
     }
     else if (Direction.Y == (float)-1)
     {
         GetSprite = new GeneralSprite(50, 20, 1);
     }
 }
Beispiel #5
0
        public IGeneralSprite AddSprite(Texture2D SpriteSheet, int Width, int Height, int totalPicture)
        {
            IGeneralSprite sprite = new GeneralSprite(Width, Height, totalPicture);

            SpriteList.Add(sprite);
            return(sprite);
        }
Beispiel #6
0
        public ItemBow(Vector2 Position, MainStage game)
        {
            this.Position = Position;
            this.game     = game;
            exist         = true;

            GetSprite = new GeneralSprite(48, 96, 1);
        }
Beispiel #7
0
        public BlueGoriyaRightMovingState(BlueGoriya Bluegoriya, IEnemyFactory factory)

        {
            die             = false;
            this.BlueGoriya = Bluegoriya;
            this.factory    = factory;
            GetSprite       = new GeneralSprite(96, 96, 2);
        }
        public AquamentusLeftMovingState(Aquamentus Aquamentus, IEnemyFactory factory)

        {
            die             = false;
            this.Aquamentus = Aquamentus;
            this.factory    = factory;
            GetSprite       = new GeneralSprite(150, 204, 4);
        }
Beispiel #9
0
        public RedBatRightMovingState(RedBat redBat, IEnemyFactory factory)

        {
            die          = false;
            this.RedBat  = redBat;
            this.factory = factory;
            GetSprite    = new GeneralSprite(96, 96, 2);
        }
        public BlueBatDownMovingState(BlueBat BlueBat, IEnemyFactory factory)

        {
            die          = false;
            this.BlueBat = BlueBat;
            this.factory = factory;
            GetSprite    = new GeneralSprite(96, 96, 2);
        }
        public RedGoriyaLeftMovingState(RedGoriya redgoriya, IEnemyFactory factory)

        {
            die            = false;
            this.RedGoriya = redgoriya;
            this.factory   = factory;
            GetSprite      = new GeneralSprite(96, 96, 2);
        }
Beispiel #12
0
        public ItemFairy(Vector2 Position, MainStage game)
        {
            this.game     = game;
            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(20, 40, 2);
        }
Beispiel #13
0
        public Boomer(Vector2 Position, Vector2 direction)
        {
            this.Position = Position + new Vector2(30, 30);
            Direction     = direction;
            Velocity      = 30;
            exist         = true;

            GetSprite = new GeneralSprite(48, 48, 3);
        }
Beispiel #14
0
        public ItemClock(Vector2 Position, MainStage game)
        {
            this.game     = game;
            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(60, 60, 1);
        }
Beispiel #15
0
        public ItemTriforce(Vector2 Position, MainStage game)
        {
            this.game     = game;
            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(96, 96, 2);
        }
Beispiel #16
0
        public FireBall(Vector2 Position, Vector2 direction)
        {
            this.Position = Position + new Vector2(30, 30);
            Direction     = direction;
            Velocity      = 10;
            exist         = true;

            GetSprite = new GeneralSprite(50, 50, 1);
        }
Beispiel #17
0
        public ItemHeartContainer(Vector2 Position, MainStage game)
        {
            this.game = game;

            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(96, 96, 1);
        }
Beispiel #18
0
        public ItemHeart(Vector2 Position, MainStage game)
        {
            this.game = game;

            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(70, 70, 2);
        }
Beispiel #19
0
        public ItemArrow(Vector2 Position, MainStage game)
        {
            this.game = game;

            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(40, 70, 1);
        }
Beispiel #20
0
        public EnemyFireBall(Vector2 Position, Vector2 direction, IEnemyFactory factory)
        {
            MovingSpeed   = 20;
            this.Position = Position + new Vector2(30, 30);
            Direction     = direction;
            damaging      = false;
            timer         = 0;
            exist         = true;

            GetSprite = new GeneralSprite(50, 50, 1);
        }
Beispiel #21
0
 public Arrow(Vector2 Position, Vector2 direction)
 {
     this.Position = Position + new Vector2(30, 30);
     Direction     = direction;
     Velocity      = 40;
     exist         = true;
     if (Direction.X == (float)1)
     {
         GetSprite = new GeneralSprite(70, 30, 1);
     }
     else if (Direction.X == (float)-1)
     {
         GetSprite = new GeneralSprite(70, 30, 1);
     }
     else if (Direction.Y == (float)1)
     {
         GetSprite = new GeneralSprite(30, 70, 1);
     }
     else if (Direction.Y == (float)-1)
     {
         GetSprite = new GeneralSprite(30, 70, 1);
     }
 }
Beispiel #22
0
 public LeftUseItemState(ILink link, MainStage game)
 {
     this.Link = link;
     this.game = game;
     GetSprite = new GeneralSprite(72, 72, 1);
 }