Example #1
0
 public Monster(Vector2 position, Texture2D texture, int team, ContentManager contentManager, Dictionary<string, List<DynamicGameObject>> dobjects, List<GameObject> sobjects)
     : base(position, texture)
 {
     angle = 0;
     this.contentManager = contentManager;
     this.dobjects = dobjects["Monster"];
     this.sobjects = sobjects;
     Team = team;
     weapon = new Weapon(10, contentManager.Load<Texture2D>(@"Textures\Bolts\bolt0"), Dobjects, Sobjects, Team);
     Init();
 }