- edited description
Spawner rewrite
Issue #202
new
Spawner
currently only works with static spawns and is coupled pretty tightly to StaticSpawnInfo
. The problem is that StaticSpawnInfo
is only creatable from a row in a SDB, which obviously won’t work well when we also need to create spawners at runtime.
Requirements
Spawner
becomes an interface with all the methods that are currently exposedStaticSpawner
implements new interfaceSpawner
and contains the logic that the oldSpawner
class heldcom.projectswg.holocore.services.support.npc.spawn.SpawnerService#spawn
should useStaticSpawner
- Important that
NPCCreator
works with theSpawner
interface and notStaticSpawner
!
Comments (2)
-
reporter -
- Log in to comment