Package schrodinger :: Package application :: Package bioluminate :: Module pml_menus :: Class RockData
[hide private]
[frames] | no frames]

Class RockData

object --+
         |
        RockData

Stores information about the current workspace rocking state

Instance Methods [hide private]
 
__init__(self, interval, amount, span)
Create a RockData object

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, interval, amount, span)
(Constructor)

 

Create a RockData object

Parameters:
  • interval (int) - in units of ~1/20 second, the frequency at which the rocking movement should be made
  • amount (int) - The number of degrees the workspace should be rotated each rocking movement
  • span (int) - The amount to rotate in one direction (past 0) before reversing
Overrides: object.__init__