Пример #1
0
        public InventoryVm(RequestClient client, Player player, SceneManagerVm sceneManager)
        {
            this.client       = client;
            this.player       = player;
            this.sceneManager = sceneManager;

            client.SubscribeTo <DroppedItemAlert>(this, OnDroppedItemsAlert);
            client.SubscribeTo <PickupItemAlert>(this, OnPickupItemAlert);

            Items        = new DroppableList();
            DroppedItems = new DroppableList();
            Equipment    = new Equipment();
            GetInventory();
        }
Пример #2
0
 public InventoryVm()
 {
     Items        = new DroppableList();
     DroppedItems = new DroppableList();
 }