Logo Search packages:      
Sourcecode: whichwayisup version File versions  Download package

Functions | Variables

data Namespace Reference


def animpath
def filepath
def levelpath
def load
def picpath


tuple data_dir = os.path.normpath(os.path.join(data_py, '..', 'data'))
tuple data_py = os.path.abspath(os.path.dirname(__file__))

Detailed Description

Simple data loader module.

Loads data files from the "data" directory shipped with a game.

Enhancing this to handle caching etc. is left as an exercise for the reader.

Generated by  Doxygen 1.6.0   Back to index