public override void LoadContent() { spriteBatch = new SpriteBatch(Game.GraphicsDevice); player = objectShellFactory.GetObjectShell<PlayerShell>(""); LevelBlockShell levelBlock = objectShellFactory.GetObjectShell<LevelBlockShell>(""); movementManager.SetLevelSize(new Vector2(Game.GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height)); player.LoadContent(Game.Content); }
public void UnRegister(ObjectShell eventComponent) { this.GameEvent -= eventComponent.ReceiveEvent; }