Beispiel #1
0
 public override void Read(IStarboundStream stream)
 {
     while ((stream.Length - stream.Position) > 0)
     {
         SpawnedEntities.Add(SpawnedEntity.FromStream(stream));
     }
 }
Beispiel #2
0
 protected void OnSpawnedDestroyed(SpawnedEntity entity)
 {
     SpawnedEntities.Remove(entity);
 }