Added dynamic spawning and despawning of objects
This commit is contained in:
parent
adbb208436
commit
e0cf8d9755
23 changed files with 794 additions and 350 deletions
|
|
@ -1,13 +1,12 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Godot;
|
||||
|
||||
public interface IGenerator
|
||||
{
|
||||
public Vector3I GetUniverseSize();
|
||||
public Vector3 GetSectorSizeEachDirection();
|
||||
public Vector3 GetSectorSize();
|
||||
|
||||
public Task GenerateUniverse(Action<Universe> callback);
|
||||
public Universe GenerateUniverse();
|
||||
public Sector GenerateSector(Vector3I coordinates);
|
||||
|
||||
public Star GenerateStar(Sector sector, Vector3 localCoordinates);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue