Package pajammin :: Package util :: Module leveleditor :: Class GroundTool
[show private | hide private]
[frames | no frames]

Type GroundTool

     object --+    
              |    
LevelEditorTool --+
                  |
                 GroundTool


Method Summary
  __init__(self, level, display)
  activate(self)
Turn this tool on.
  deactivate(self)
Turn this tool off.
  select_subtool(self, subtool)
Select the subtool corresponding to the given icon
    Inherited from LevelEditorTool
  set_level(self, level)
    Inherited from object
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
Return hash(x)...
  __new__(T, S, ...)
Return a new object with type S, a subtype of T...
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
Return repr(x)...
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
Return str(x)...

Instance Variable Summary
NoneType shortcut: The keyboard shortcut for this tool, or None if this tool doesn't have a keyboard shortcut.

Class Variable Summary
int DEPTH = 3                                                                     

Method Details

__init__(self, level, display)
(Constructor)

Overrides:
pajammin.util.leveleditor.LevelEditorTool.__init__

activate(self)

Turn this tool on.
Overrides:
pajammin.util.leveleditor.LevelEditorTool.activate (inherited documentation)

deactivate(self)

Turn this tool off.
Overrides:
pajammin.util.leveleditor.LevelEditorTool.deactivate (inherited documentation)

select_subtool(self, subtool)

Select the subtool corresponding to the given icon
Overrides:
pajammin.util.leveleditor.LevelEditorTool.select_subtool (inherited documentation)

Instance Variable Details

shortcut

The keyboard shortcut for this tool, or None if this tool doesn't have a keyboard shortcut.
Type:
NoneType
Value:
'g'                                                                    

Class Variable Details

DEPTH

Type:
int
Value:
3