public override void LoadContent(AxiosGameScreen gameScreen) { base.LoadContent(gameScreen); CreateObjects(gameScreen); foreach (SimpleAxiosGameObject obj in GameObjects) { gameScreen.AddGameObject(obj); } }
public override void LoadContent(AxiosGameScreen gameScreen) { base.LoadContent(gameScreen); BodyParts = new List<SimpleAxiosGameObject>(); CreateBodyPart(gameScreen); CreateBodyParts(gameScreen); gameScreen.AddGameObject(BodyPart); BodyPart.BodyPart.Enabled = true; foreach (SimpleAxiosGameObject obj in BodyParts) { gameScreen.AddGameObject(obj); obj.BodyPart.Enabled = false; } }