Drag[en]gine Script Module DragonScript Script API  1.0
CommandScreenshot Class Reference

Command for taking screenshots using a ScreenshotCreator,. More...

Inheritance diagram for CommandScreenshot:

Public Member Functions

ScreenshotCreator getScreenshotCreator ()
 Screenshot creator. More...
CommandScreenshot new (ScreenshotCreator screenshotCreator)
 Create screenshot command. More...
CommandScreenshot new (ScreenshotCreator screenshotCreator, String name, String description)
 Create screenshot command. More...
void start ()
 Start command. More...
- Public Member Functions inherited from Command
void analog (float movement)
 Analog movement due to input device axis changing position. More...
String getDescription ()
 Description. More...
String getName ()
 Unique name. More...
Command new ()
 Create command. More...
Command new (String name, String description)
 Create command. More...
void pulse ()
 Convenience method calling start() and stop() in succession. More...
void setDescription (String description)
 Set description. More...
void setName (String name)
 Set unique name of the command. More...
void start ()
 Input key or button has been pressed. More...
void stop ()
 Input key or button has been released. More...

Detailed Description

Command for taking screenshots using a ScreenshotCreator,.

Roland Pl├╝ss

Member Function Documentation

◆ getScreenshotCreator()

ScreenshotCreator getScreenshotCreator ( )

Screenshot creator.

◆ new() [1/2]

CommandScreenshot new ( ScreenshotCreator  screenshotCreator)

Create screenshot command.

◆ new() [2/2]

CommandScreenshot new ( ScreenshotCreator  screenshotCreator,
String  name,
String  description 

Create screenshot command.

◆ start()

void start ( )

Start command.

Called if an input key has been pressed.

The documentation for this class was generated from the following file: