Friendly Units (Workers) - UQdeco2800/2022-studio-3 GitHub Wiki
Friendly worker units are apart of a larger set of friendly units that the player can control and assign to do tasks throughout the duration of the game. These units consist of three subunits:
- Miner - Collect metal and stone from mines
- Forager - Collect wood from trees
- Builder - Construct and repair defensive walls
Worker Task System
Abstract Worker Class
This class implements core functionality that each friendly worker unit will build off of. These features include:
Miner Unit
Miner is a unit that responsible to take stone and metal attributes from a resource.
Forager Unit
The forager unit is responsible for taking stone and metal attributes from a resource.
Builder Unit
The builder unit will be responsible for constructing and repairing buildings and structures. These structures include