Ejemplo n.º 1
0
        public OverlandSettlementView(WorldView worldView, InputHandler input)
        {
            WorldView = worldView;

            Input = input;
            Input.BeginRegistration(GameStatus.OverlandMap.ToString(), "OverlandSettlementView");
            Input.EndRegistration();

            Input.Subscribe(GameStatus.OverlandMap.ToString(), "OverlandSettlementView");

            WorldView.SubscribeToStatusChanges("OverlandSettlementView", worldView.HandleStatusChange);
        }