sgolodetz / game1666

A fledgling city-building game (in C#) based in the Stuart period around the Great Fire of London (in 1666).
2 stars 2 forks source link

Implement walker spawning #51

Closed sgolodetz closed 12 years ago

sgolodetz commented 12 years ago

There needs to be an easy way to generate walkers to populate a city/world. The easiest way to accomplish this is to implement a spawner - an invisible entity on the edge of the playing area that generates new walkers.

sgolodetz commented 12 years ago

Note that this ties in with the resource matchmaker - the spawner will generate entities in response to matchmaking requests. There is also a tie-in with the message system, because generating new entities will involve posting an entity construction message to get picked up by the relevant playing area (which is the only entity in a position to handle the construction of new entities).

sgolodetz commented 12 years ago

Implemented as of commit 183d58e8538d609091abe5a6d44f724f3a184bb4, but there are still some remaining tasks to tackle in further issues, namely: