Difference between revisions of "Silhouette Module Reference"

From Silhouette Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Name!!Description
+
! scope="col" | Name
 +
! scope="col" class="unsortable" | Description
 
|-
 
|-
 
|<tt>addAction(action)</tt>||Adds a new [[Action]] subclass to the Action system
 
|<tt>addAction(action)</tt>||Adds a new [[Action]] subclass to the Action system

Revision as of 23:17, 17 November 2012

The fx Module

All of Silhouette's built-in functions are defined in the fx module. The easiest way to make use of the module is to use the Python statement from fx import *.

Global Functions

Name Description
addAction(action) Adds a new Action subclass to the Action system
action(name) Returns the Action with the given name

Global Constants

fx Objects

Name Description
Action Base class for Actions
Object Base class for all objects