Skip to content
Kesomannen edited this page Jul 20, 2023 · 8 revisions

Overview

Welcome to the Food Dyansty wiki!

Project Structure

Food Dynasty is structured with modularity in mind. Each system has its own namespace linked to an Assembly Definition, with references to other assemblies it depends on.

  • Dynasty.Library contains code that does not depend on any other assembly and rarely changes. Extensions, helpers and simple classes can be found here. Every other assembly depends on this one.

  • Dynasty.Core includes core functionality, such as the grid and inventory systems. Being intertwined with most aspects of the game makes it a common dependency.

  • Dynasty.UI holds all of the UI code. It depends on most other assemblies, but should not be referenced back. This is to avoid cyclic dependencies and to promote modularity, where game logic is decoupled from the interface.

  • Dynasty.Persistent handles saving and persistent storage.

  • Dynasty.Food contains types for food modification, filtering and data.

  • Dynasty.Machine defines components that act on food.

Clone this wiki locally