public static Hero CreateHero(ContentManager content) { Texture2D heroTexture = content.Load<Texture2D>("BigBlueMage"); Hero hero = new Hero(SpellType.Ice, new Rectangle(50, 450, heroTexture.Bounds.Width, heroTexture.Bounds.Height), heroTexture, 1); return hero; }
public static Hero CreateEnemyHero(ContentManager content) { Texture2D enemyTexture = content.Load<Texture2D>("BigBlueMage"); Hero enemy = new Hero(SpellType.Ice, new Rectangle(1080, 450, enemyTexture.Bounds.Width, enemyTexture.Bounds.Height), enemyTexture, 1); return enemy; }