1 |
""" |
2 |
This is the file of the base class for items within a scene |
3 |
|
4 |
@var __author__: name of author |
5 |
@var __license__: licence agreement |
6 |
@var __copyright__: copyrights |
7 |
@var __url__: url entry point on documentation |
8 |
@var __version__: version |
9 |
@var __date__: date of the version |
10 |
""" |
11 |
|
12 |
__copyright__=""" Copyright (c) 2006 by ACcESS MNRF |
13 |
http://www.access.edu.au |
14 |
Primary Business: Queensland, Australia""" |
15 |
__license__="""Licensed under the Open Software License version 3.0 |
16 |
http://www.opensource.org/licenses/osl-3.0.php""" |
17 |
__author__="Paul Cochrane" |
18 |
__url__="http://www.iservo.edu.au/esys" |
19 |
__version__="$Revision$" |
20 |
__date__="$Date$" |
21 |
|
22 |
|
23 |
from common import debugMsg, overrideWarning |
24 |
|
25 |
class Item(object): |
26 |
""" |
27 |
This is the base class for items within a scene |
28 |
""" |
29 |
|
30 |
def __init__(self): |
31 |
""" |
32 |
Initialisation |
33 |
""" |
34 |
object.__init__(self) |
35 |
debugMsg("Called Item.__init__()") |
36 |
|
37 |
def render(self): |
38 |
""" |
39 |
Render the object |
40 |
""" |
41 |
debugMsg("Called Item.render()") |
42 |
|
43 |
# print a warning if get to here |
44 |
overrideWarning("Item.render") |
45 |
|
46 |
return |
47 |
|
48 |
# vim: expandtab shiftwidth=4: |