public Boss(ContentManager content, Vector3 position) { this.position = position; velocity = Vector3.Zero; health = 100; Model = content.Load<Model>(@"models/boss1"); texture = content.Load<Texture2D>(@"models/BossTexture"); name = RealName.Boss1; score = 15; weapon = new BotMissile(content); activated = false; rotate(new Vector3(0, -MathHelper.ToRadians(45), 0)); }
public Infector(ContentManager content, Vector3 position) { this.content = content; this.position = position; velocity = Vector3.Zero; health = 250; Model = content.Load<Model>(@"models/infector"); texture = content.Load<Texture2D>(@"models/BossTexture"); name = RealName.Boss1; score = 15; weapon = new BotMissile(content); activated = false; cellSphere = new BoundingSphere(position, 80); convertingCells = new List<TimeSpan>(); rotate(new Vector3(0, MathHelper.ToRadians(90), 0)); }
public MissileBot(ContentManager content, Vector3 position, Vector3 playerPosition) { this.position = position; velocity = playerPosition - position; velocity.Normalize(); health = 30; Model = content.Load<Model>(@"models/missilebot"); texture = content.Load<Texture2D>(@"models/rocketBotTexture"); name = RealName.MeleeBot; score = 30; state = MeleeBotState.Idle; timeToFire = TimeSpan.FromSeconds(2); weapon = new BotMissile(content); enabled = true; rotate(new Vector3(0, -MathHelper.ToRadians(90), 0)); }