Show / Hide Table of Contents

Namespace Eco.Gameplay.PowerGrids

Classes

PowerGrid

Represents a power grid. A PowerGrid is a collection of PowerGridComponents that all share the same energy type. A power grid is always fully connected. The three major operations on a power grid are Join(PowerGridComponent, PowerGridComponent), DisconnectAndSplit(PowerGridComponent), and Tick(). PowerGrid is not thread safe.

PowerGridManager

A central manager for all power grids. It is responsible for handling changes in power grid structure and for ticking all power grids.

☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾