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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addProject
(Project from) Deprecated.Bring Entities and assets of another project into this project.void
addProject
(Project from, String subPath) Deprecated.Bring Entities and assets of another project into this project.void
clear()
Deprecated.void
copyDiskAssetsToScenePath
(Project source, String destinationPath) Deprecated.com.marginallyclever.robotoverlord.entity.EntityManager
Deprecated.getPath()
Deprecated.void
Deprecated.Attempt to load the file into a new Scene.void
parseJSON
(org.json.JSONObject json, SerializationContext context) Deprecated.void
Deprecated.void
Deprecated.Set the path.org.json.JSONObject
toJSON
(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
Deprecated.- Throws:
IOException
-
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
-