Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
 public void UnRegister(ObjectShell eventComponent)
 {
     this.GameEvent -= eventComponent.ReceiveEvent;
 }