Design Pattern Examples
Overview of object-oriented design patterns
Village Struct Reference

Represents a collection of shops that can be visited. More...

#include <Visitor_Village.h>

Collaboration diagram for Village:
Collaboration graph

Public Attributes

const char * Name
 Name of the village.
 
Visitor_Shop ** shops
 List of shops in this village.
 
size_t shops_count
 Number of shops in the shops list.
 

Detailed Description

Represents a collection of shops that can be visited.

Definition at line 18 of file c/Visitor_Village.h.

Member Data Documentation

◆ Name

◆ shops

Visitor_Shop** shops

List of shops in this village.

Definition at line 21 of file c/Visitor_Village.h.

Referenced by Village_AddShop(), Village_Clear(), Village_Initialize(), and Village_VisitShop().

◆ shops_count

size_t shops_count

Number of shops in the shops list.

Definition at line 22 of file c/Visitor_Village.h.

Referenced by Village_AddShop(), Village_Clear(), Village_Initialize(), and Village_VisitShop().


The documentation for this struct was generated from the following file: