Open Gerrudo opened 1 month ago
We should add a simple state machine pattern into our game that allows us to change the state of a connection easily for our buildings.
The aim is to reduce complexity and nesting.
The state should be able to detect if a building is connected to a:
From there we can possibly decide on values for resource usage, once we know a building is connected.
We should add a simple state machine pattern into our game that allows us to change the state of a connection easily for our buildings.
The aim is to reduce complexity and nesting.
The state should be able to detect if a building is connected to a:
From there we can possibly decide on values for resource usage, once we know a building is connected.