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

Type LinkMarker

 object --+            
          |            
WorldWidget --+        
              |        
     LineMarker --+    
                  |    
        ArrowMarker --+
                      |
                     LinkMarker


Method Summary
  __init__(self, link)
  get_line(self)
Return the line to mark (defined by subclasses)
    Inherited from ArrowMarker
  draw(self, screen, duration, dx, dy)
Draw this widget to the screen.
  get_arrow(self)
    Inherited from LineMarker
  get_rect(self)
    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
    Inherited from LineMarker
  layer: An integer indicating the order in which the widget should be drawn to the screen, relative to other widgets.
    Inherited from WorldWidget
  movement_callback: A callback method that should be called whenever the sprite is moved.
NoneType rect: A pygame Rect describing the extent of this widget, in world coordinates.

Class Variable Summary
int width = 2                                                                     
    Inherited from ArrowMarker
int arrow_angle = 20                                                                    
int arrow_length = 10                                                                    
    Inherited from LineMarker
tuple color = (255, 255, 255)

Method Details

__init__(self, link)
(Constructor)

Overrides:
__builtin__.object.__init__

get_line(self)

Return the line to mark (defined by subclasses)
Overrides:
pajammin.util.leveleditor.LineMarker.get_line (inherited documentation)

Class Variable Details

width

Type:
int
Value:
2