/// <summary> /// Allows the game component to perform any initialization it needs to before starting /// to run. This is where it can query for any required services and load content. /// </summary> public override void Initialize() { // TODO: Add your initialization code here theGround.Initialize(); theTrees.Initialize(); theShrooms.Initialize(); theRiver.Initialize(); base.Initialize(); }
/// <summary> /// Allows the game component to perform any initialization it needs to before starting /// to run. This is where it can query for any required services and load content. /// </summary> public override void Initialize() { // TODO: Add your initialization code here castle0.Initialize(); castle1.Initialize(); castle2.Initialize(); castle3.Initialize(); castle4.Initialize(); castle5.Initialize(); base.Initialize(); }