public Background(LostSoulGame game) : base(game) { bodyBehavior = new PlaneBodyBehavior(this); renderBehavior = new SpriteRenderBehavior(game, game.ContentLoader.Backgrounds[currentBackgroundIndex]); animationBehavior = new BackgroundAnimationBehavior(this); }
public HudElement(LostSoulGame game) : base(game) { bodyBehavior = new PlaneBodyBehavior(this); Visible = true; }