CometZ  0.2
 All Classes Namespaces Functions
Public Member Functions | Public Attributes
volume.Volume Class Reference

List of all members.

Public Member Functions

def __init__
def up
def down
def left
def right
def press
def draw

Public Attributes

 items
 backg
 musicVol
 soundVol
 state
 fontType
 fontSizeNSelec
 fontSizeSelec
 spread
 fontColor

Detailed Description

    Class for generating volume menu based on 
    a background image and the current volume
    
    It takes as input a background image and a dictionary containing the
    current volume
    
    We will assume that the only way the volume can be changed throughout the game
    is through the class methods
    
    If one needs to change the text size or color, one can make use of the
    class attributes

Member Function Documentation

def volume.Volume.down (   self)
    moving down on the menu
def volume.Volume.draw (   self,
  screen 
)
    drawing the menu
def volume.Volume.left (   self)
    moving "left" on the menu
def volume.Volume.press (   self)
    whenever the selected item is pressed
def volume.Volume.right (   self)
    moving "right" on the menu
def volume.Volume.up (   self)
    moving up on the menu

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions