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:
Command

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 analogAbsolute (float value)
 Absolute input device axis position changed. More...
 
void analogRelative (float value)
 Relative input device axis position changed. 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 device key or button has been pressed. More...
 
void stop ()
 Input device key or button has been released. More...
 

Detailed Description

Command for taking screenshots using a ScreenshotCreator,.

Author
Roland Pl├╝ss
Version
1.0
Date
2015

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: