public Cow(CowManager manager, WallManager wallManager, CowStack cowStack, Texture2D h1Texture, Texture2D h2Texture, int health) { cowPosition = new Vector2(0, floorLevel); this.manager = manager; this.wallManager = wallManager; isDead = false; partOfPyramid = false; this.cowStack = cowStack; this.health = health; healthBar = new HealthBar(h1Texture, h2Texture, cowPosition, health); }
public Bull(CowManager manager, WallManager wallManager, CowStack cowStack, Texture2D h1Texture, Texture2D h2Texture) : base(manager, wallManager, cowStack, h1Texture, h2Texture, health) { }
public void SetWallManager(WallManager wallManager) { this.wallManager = wallManager; cowStack = new CowStack(wallManager); }