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); }
public BlueOctLeftMovingState(BlueOct blueoct, IEnemyFactory factory) { die = false; this.BlueOct = blueoct; this.factory = factory; GetSprite = new GeneralSprite(96, 96, 2); }
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); } }
public IGeneralSprite AddSprite(Texture2D SpriteSheet, int Width, int Height, int totalPicture) { IGeneralSprite sprite = new GeneralSprite(Width, Height, totalPicture); SpriteList.Add(sprite); return(sprite); }
public ItemBow(Vector2 Position, MainStage game) { this.Position = Position; this.game = game; exist = true; GetSprite = new GeneralSprite(48, 96, 1); }
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); }
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); }
public ItemFairy(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(20, 40, 2); }
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); }
public ItemClock(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(60, 60, 1); }
public ItemTriforce(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(96, 96, 2); }
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); }
public ItemHeartContainer(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(96, 96, 1); }
public ItemHeart(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(70, 70, 2); }
public ItemArrow(Vector2 Position, MainStage game) { this.game = game; this.Position = Position; exist = true; GetSprite = new GeneralSprite(40, 70, 1); }
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); }
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); } }
public LeftUseItemState(ILink link, MainStage game) { this.Link = link; this.game = game; GetSprite = new GeneralSprite(72, 72, 1); }