public NoobWalk(BattleMain.Battle battle, Player.VirtualPlayer virtualPlayer, int indexNum, ActivePattern activePattern, Item.Item.ItemState itemState) : base(battle, virtualPlayer, indexNum) { radius = 32f; speed = 0.0003; shootTime = 2000; shootCount = 0; hp = 20000; popItem = itemState; isBulletToItem = false; height = 2f; circleRadius = 250.3f; direction = (double)activePattern; if (activePattern == ActivePattern.LEFT) { startPosition = new Vector2(BattleMain.BattleWindow.Center.X, BattleMain.BattleWindow.Up - 50f); radian = Math.PI; } else if (activePattern == ActivePattern.RIGHT) { startPosition = new Vector2(BattleMain.BattleWindow.Center.X, BattleMain.BattleWindow.Up - 50f); radian = 0.0; } }
public TestEnemy(BattleMain.Battle battle, Player.VirtualPlayer virtualPlayer, int indexNum, Vector2 startPosision, Item.Item.ItemState itemState) : base(battle, virtualPlayer, indexNum) { position = startPosision; radius = 32f; speed = 0.14f; startTime = 650; returnTime = 5600; circleRadius = 3.3f; popItem = itemState; hp = 130000; enableShootCount = 0; enableShootInterbal = 500; isBulletToItem = true; if (startPosision.X < BattleMain.BattleWindow.Center.X) { direction = new Vector2(0.5f, 0.5f); } else { direction = new Vector2(-0.5f, 0.5f); } }
public VirtualEnemy(BattleMain.Battle battle, Player.VirtualPlayer virtualPlayer, int indexNum) { index = indexNum; parent = battle; player = virtualPlayer; state = State.NORMAL; time = 0; }
public TestPlayer(BattleMain.Battle battle) : base(battle) { speed = 0.28f; shiftSpeed = 0.18f; shootInterval = 50; bombShootInterval = 100; drawRect = new Rectangle(0, 0, 64, 64); drawRadius = 32f; }
public VirtualPlayer(BattleMain.Battle battle) { parent = battle; position = new Vector2(BattleMain.BattleWindow.Center.X, BattleMain.BattleWindow.Down - 120); radius = 3f; StateSet(State.MOVE); power = 100; bullets = new List <PlayerBullet.VirtualPlayerBullet>(); life = 3; bomb = 3; score = 0; invincible = false; invincibleTime = 0; }
public NoobContinuousFire(BattleMain.Battle battle, VirtualPlayer virtualPlayer, int indexNum, float x) : base(battle, virtualPlayer, indexNum) { hp = 65000; radius = 32f; position = new Vector2(x, BattleWindow.Up - 50f); speed = 6f; headTime = 600; middleTime = 5000; shootTime = 1600; shootInterval = 80; shootCount = 0; enableShootCount = 10; isBulletToItem = false; }
public Boss(BattleMain.Battle battle, VirtualPlayer virtualPlayer, int indexNum) : base(battle, virtualPlayer, indexNum) { radius = 64f; phase = Phase.POP; hp = 20000000; shootCount = 0; shootDirection = 1.0; attack1enableShootCount = 2; attack1ShootInterval = 125; attack2enableShootCount = 20; attack2ShootInterval = 250; shootState = ShootState.RELOAD; isBulletToItem = true; wingDrawRect = new Rectangle(0, 0, 128, 128); }