Table of Contents

Module: paths enginecode/paths.py

Paths class module. Used for defining the default paths.

Currently Pyzzle uses default directories when looking for, data. Define these default paths here.

Note I will extend Pyzzle so you can place custom paths with each data object.

Imported modules   
import os
Functions   
getImagePath
getMoviePath
getObjectPath
getSlidePath
getSoundPath
getTextPath
setImagePath
setMoviePath
setObjectPath
setSlidePath
setSoundPath
setTextPath
  getImagePath 
getImagePath ()

-> path.

returns the default image path.

  getMoviePath 
getMoviePath ()

-> path.

returns the default movie path.

  getObjectPath 
getObjectPath ()

-> path.

returns the default object path.

  getSlidePath 
getSlidePath ()

-> path.

returns the default slide path.

  getSoundPath 
getSoundPath ()

-> path.

returns the default sound path.

  getTextPath 
getTextPath ()

  setImagePath 
setImagePath ( path )

Set the default image path.

parameters:

path
directory contains the over slide images.

  setMoviePath 
setMoviePath ( path )

Set the default movie path.

parameters:

path
directory contains the mpeg movies.

  setObjectPath 
setObjectPath ( path )

Set the default object path.

parameters:

path
directory contains the object icon files.

  setSlidePath 
setSlidePath ( path )

Set the default slide path.

parameters:

path
directory contains the slides.

  setSoundPath 
setSoundPath ( path )

Set the default sound path.

parameters:

path
directory contains the sounds, ambient sounds and music.

  setTextPath 
setTextPath ( path )

Set the default text path.

parameters:

path
directory contains the text.


Table of Contents

This document was automatically generated on Tue Dec 3 16:55:38 2002 by HappyDoc version 2.1