private void createItems()
    {
        //Create all items from XML file and set all properties
        Map<Integer, HashMap<String, String>> parentMap = itemsXML.getXMLData();
        Iterator<Map.Entry<Integer, HashMap<String, String>>> parentXML = parentMap.entrySet().iterator();
        
        int itemRoomID = 0;
        
        while (parentXML.hasNext())
        {
            Map.Entry<Integer, HashMap<String, String>> parentEntry = parentXML.next();

            Map<String, String> map = parentEntry.getValue();
            Iterator<Map.Entry<String, String>> entries = map.entrySet().iterator();
            
            Item currentItem = new Item();
            
            while (entries.hasNext())
            {
                Map.Entry<String, String> entry = entries.next();
                
                //Create item object if not already exists
                if(currentItem.getItemID() != 0)
                {
                    currentItem.setItemID(parentEntry.getKey());
                }

                if(entry.getKey().equals("item_room"))
                {
                    //Set room ID where item is located
                    itemRoomID = Integer.parseInt(entry.getValue());
                }else if(entry.getKey().equals("item_name"))
                {
                    //Set item name
                    currentItem.setItemName(entry.getValue());
                }else if(entry.getKey().equals("item_value"))
                {
                    //Set item value
                    currentItem.setItemValue(Integer.parseInt(entry.getValue()));
                    
                    //Add item object to room
                    rooms.get(itemRoomID).setItem(currentItem);
                }
            }
        }
    }