java.lang.Object
com.marginallyclever.robotoverlord.Project
Deprecated.
A
Project is a collection of Entities that have Components that is stored somewhere on disk.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddProject(Project from) Deprecated.Bring Entities and assets of another project into this project.voidaddProject(Project from, String subPath) Deprecated.Bring Entities and assets of another project into this project.voidclear()Deprecated.voidcopyDiskAssetsToScenePath(Project source, String destinationPath) Deprecated.com.marginallyclever.robotoverlord.entity.EntityManagerDeprecated.getPath()Deprecated.voidDeprecated.Attempt to load the file into a new Scene.voidparseJSON(org.json.JSONObject json, SerializationContext context) Deprecated.voidDeprecated.voidDeprecated.Set the path.org.json.JSONObjecttoJSON(SerializationContext context) Deprecated.
-
Constructor Details
-
Project
public Project()Deprecated. -
Project
Deprecated.
-
-
Method Details
-
getEntityManager
public com.marginallyclever.robotoverlord.entity.EntityManager getEntityManager()Deprecated. -
getPath
Deprecated. -
setPath
Deprecated.Set the path. This is the path to the directory containing the scene file.- Parameters:
absolutePath- the absolute path to the scene directory.
-
copyDiskAssetsToScenePath
Deprecated.- Throws:
IOException
-
clear
public void clear()Deprecated. -
load
Deprecated.Attempt to load the file into a new Scene.- Parameters:
file- the file to load- Throws:
IOException- if the file cannot be read
-
save
-
parseJSON
Deprecated. -
toJSON
Deprecated. -
addProject
Deprecated.Bring Entities and assets of another project into this project.- Parameters:
from- the project to fold into this project- Throws:
IOException- if the asset files cannot be copied
-
addProject
Deprecated.Bring Entities and assets of another project into this project.- Parameters:
from- the project to fold into this projectsubPath- the subdirectory to copy the assets into- Throws:
IOException- if the asset files cannot be copied
-