zllangct / ecs

A Go-implementation of the ECS (Entity-Component-System), focus on the development of game server.
BSD 3-Clause "New" or "Revised" License
137 stars 9 forks source link

World Management #14

Open cchandel opened 2 years ago

cchandel commented 2 years ago

Hi,

  1. Is there a way to stop / pause a world
  2. Start and run a second world
  3. Do some processing
  4. Stop and destroy the second world
  5. Resume the First world from where we left it ?
zllangct commented 2 years ago

I think we need to provide some new methods to control the world for stop, resume.

cchandel commented 2 years ago

Hi, With the new changes, I can't access the WorldStatus. Also, how do I DestroyWorld or Destroy an Entity ?