示例#1
0
        /// <summary>
        /// Discards an Item from an inventory slot
        /// </summary>
        /// <param name="gs">The game state to remove the item from</param>
        /// <param name="invSlot">The inventory slot to remove the item from</param>
        /// <returns>If the item was succesfully removed</returns>
        public bool DiscardItem(GameState gs, int invSlot)
        {
            PCModel pcm = gs.GetPCM();

            return(pcm.DiscardItem(invSlot));
        }