예제 #1
0
 public OctUpMovingState(Oct oct, IEnemyFactory factory)
 {
     die          = false;
     this.Oct     = oct;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
예제 #2
0
 public BlueMDownMovingState(BlueM bluem, IEnemyFactory factory)
 {
     die          = false;
     this.BlueM   = bluem;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
예제 #3
0
 public BlueOctLeftMovingState(BlueOct blueoct, IEnemyFactory factory)
 {
     die          = false;
     this.BlueOct = blueoct;
     this.factory = factory;
     GetSprite    = new GeneralSprite(96, 96, 2);
 }
예제 #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);
     }
 }
예제 #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);
        }
예제 #6
0
        public ItemBow(Vector2 Position, MainStage game)
        {
            this.Position = Position;
            this.game     = game;
            exist         = true;

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

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

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

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

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

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

            exist = true;

            GetSprite = new GeneralSprite(20, 40, 2);
        }
예제 #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);
        }
예제 #14
0
        public ItemClock(Vector2 Position, MainStage game)
        {
            this.game     = game;
            this.Position = Position;

            exist = true;

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

            exist = true;

            GetSprite = new GeneralSprite(96, 96, 2);
        }
예제 #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);
        }
예제 #17
0
        public ItemHeartContainer(Vector2 Position, MainStage game)
        {
            this.game = game;

            this.Position = Position;

            exist = true;

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

            this.Position = Position;

            exist = true;

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

            this.Position = Position;

            exist = true;

            GetSprite = new GeneralSprite(40, 70, 1);
        }
예제 #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);
        }
예제 #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);
     }
 }
예제 #22
0
 public LeftUseItemState(ILink link, MainStage game)
 {
     this.Link = link;
     this.game = game;
     GetSprite = new GeneralSprite(72, 72, 1);
 }