//float oldSpeed; public Engineer(Texture2D tex, Texture2D HUDPic, Vector2 pos, GameWindow window, GamePlayScreen gps, int hp, int mana, int speed, int damage, PlayerIndex playerIndex) : base(tex, HUDPic, pos, window, gps, hp, mana, speed, damage, playerIndex) { frameSize = new Point(45, 45); projectileTimerLife = 700; teleportPos = pos; projTex = TextureManager.bulletEng; offsetBullet = new Vector2(-7, 20); //oldSpeed = speed; // name, int, str, agil, vit, luck, hp, mp, lvl statusWindow = new StatusWindow(TextureManager.turretBullet, pos, "Sebastian", 2, 2, 2, 4, 0, hp, mana, 1, playerIndex); }
public Warrior(Texture2D tex, Texture2D HUDPic, Vector2 pos, GameWindow window, GamePlayScreen gps, int hp, int mana, int speed, int damage, PlayerIndex playerIndex) : base(tex, HUDPic, pos, window, gps, hp, mana, speed, damage, playerIndex) { // name, int, str, agil, vit, luck, hp, mp, lvl statusWindow = new StatusWindow(TextureManager.turretBullet, pos, "hej", 0, 0, 0, 0, 0, hp, mana, 1, playerIndex); this.particleEngineCharge = new ParticleEngine(TextureManager.steamTextures, pos, Color.Green); frameSize = new Point(50, 50); isAttacking = false; isShielding = false; isCharging = false; isAPress = false; availableAPress = true; }
public Wizard(Texture2D tex, Texture2D HUDPic, Vector2 pos, GameWindow window, GamePlayScreen gps, int hp, int mana, int speed, int damage, PlayerIndex playerIndex) : base(tex, HUDPic, pos, window, gps, hp, mana, speed, damage, playerIndex) { this.timeWindRuch = 1000; this.particleEngineWater = new ParticleEngine(TextureManager.steamTextures, pos, Color.Blue); this.particleEngineFire = new ParticleEngine(TextureManager.steamTextures, pos, Color.Red); this.particleEngineRocks = new ParticleEngine(TextureManager.steamTextures, pos, Color.Gray); this.damage = 10; // name, int, str, agil, vit, luck, hp, mp, lvl statusWindow = new StatusWindow(TextureManager.turretBullet, pos, "Sir Anton", 20, 0, 0, 0, 0, hp, mana, 100, playerIndex); projTex = TextureManager.bulletWiz; projectileTimerLife = 500; offsetBullet = new Vector2(-8, 20); frameSize = new Point(45, 45); }