9#ifndef __VISITOR_VILLAGE_H__
10#define __VISITOR_VILLAGE_H__
Declaration of the OrderVisitor structure and its supporting functions, OrderVisitor_Initialize(),...
void Village_Clear(Village *village)
Clear the specified Village object, releasing any allocated memory associated with the village and it...
bool Village_VisitShop(Village *village, OrderVisitor *visitor)
Visit all shops in the given Village object to find the ingredients specified in the OrderVisitor obj...
bool Village_Load(Village *village)
Set up the specified Village object with all the shops that can be visited.
void Village_Initialize(Village *village)
Initialize the specified Village object.
Represents a visitor used for ordering items from various shops. The user starts with an instance of ...
Represents a collection of shops that can be visited.
const char * Name
Name of the village.
size_t shops_count
Number of shops in the shops list.
Visitor_Shop ** shops
List of shops in this village.
Represents a shop in the village that can be visited.