new Screenshot(world)
Instantiate the object
Parameters:
| Name | Type | Description |
|---|---|---|
world |
World | world object instance |
- Source:
Methods
-
create(fileName)
-
Create screenshot
Parameters:
Name Type Description fileNameString File name
- Source:
-
ensureDirectoryExists()
-
Ensure directory exists or not; if not then it will create new directory
- Source: