~ubuntu-branches/ubuntu/lucid/blender/lucid

« back to all changes in this revision

Viewing changes to source/gameengine/PyDoc/KX_CDActuator.py

  • Committer: Bazaar Package Importer
  • Author(s): Chris Coulson
  • Date: 2009-08-06 22:32:19 UTC
  • mfrom: (1.2.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090806223219-8z4eej1u8levu4pz
Tags: 2.49a+dfsg-0ubuntu1
* Merge from debian unstable, remaining changes:
  - debian/control: Build-depend on python-2.6 rather than python-2.5.
  - debian/misc/*.desktop: Add Spanish translation to .desktop 
    files.
  - debian/pyversions: 2.6.
  - debian/rules: Clean *.o of source/blender/python/api2_2x/
* New upstream release (LP: #382153).
* Refreshed patches:
  - 01_sanitize_sys.patch
  - 02_tmp_in_HOME
  - 10_use_systemwide_ftgl
  - 70_portability_platform_detection
* Removed patches merged upstream:
  - 30_fix_python_syntax_warning
  - 90_ubuntu_ffmpeg_52_changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: KX_CDActuator.py 15444 2008-07-05 17:05:05Z lukep $
2
 
# Documentation for CD Actuator
3
 
from SCA_IActuator import *
4
 
 
5
 
class KX_CDActuator(SCA_IActuator):
6
 
        def startCD():
7
 
                """
8
 
                Starts the CD playing.
9
 
                """
10
 
        def stopCD():
11
 
                """
12
 
                Stops the CD playing.
13
 
                """
14
 
        def pauseCD():
15
 
                """
16
 
                Pauses the CD.
17
 
                """
18
 
        def setGain(gain):
19
 
                """
20
 
                Sets the gain (volume) of the CD.
21
 
                
22
 
                @type gain: float
23
 
                @param gain: the gain to set the CD to. 0.0 = silent, 1.0 = max volume.
24
 
                """
25
 
        def getGain():
26
 
                """
27
 
                Gets the current gain (volume) of the CD.
28
 
                
29
 
                @rtype: float
30
 
                @return: Between 0.0 (silent) and 1.0 (max volume)
31
 
                """
32