dmlary / morrow

Ruby ECS-based MUD server
MIT License
4 stars 1 forks source link

Move SpawnPointComponent out of their Container Entity #5

Closed dmlary closed 4 years ago

dmlary commented 4 years ago

For #4, we need to be able to reference a single SpawnPointComponent. Since Entities may have any number of SpawnPointComponents, and a Component may not reference another Component, we need to make SpawnPointComponent unique, and add a field for their location reference.