Appropriate level of granularity for component-based architecture
- by Jon Purdy
I'm working on a game with a component-based architecture. An Entity owns a set of Component instances, each of which has a set of Slot instances with which to store, send, and receive values. Factory functions such as Player produce entities with the required components and slot connections.
I'm trying to determine the best level of granularity…