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

Type Marker

 object --+            
          |            
WorldWidget --+        
              |        
     RectMarker --+    
                  |    
       EntityMarker --+
                      |
                     Marker


Method Summary
    Inherited from EntityMarker
  __init__(self, entity, text)
  get_rect(self)
    Inherited from RectMarker
  draw(self, screen, duration, dx, dy)
Draw this widget to the screen.
    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)...

Property Summary
    Inherited from RectMarker
  text

Instance Variable Summary
  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
tuple border_color = (255, 0, 0)
int border_width = 2                                                                     
NoneType fill_color = None                                                                  
int font_size = 28                                                                    
    Inherited from EntityMarker
tuple margin = (0, 0)
    Inherited from RectMarker
int fill_alpha = 40                                                                    
NoneType image = None                                                                  
NoneType text = None                                                                  
tuple text_color = (0, 0, 0)

Property Details

text

Set Method:
unknown-16927792(...)

Instance Variable Details

layer

An integer indicating the order in which the widget should be drawn to the screen, relative to other widgets. Widgets with higher layer numbers will be drawn later.
Value:
250                                                                   

Class Variable Details

border_color

Type:
tuple
Value:
(255, 0, 0)                                                            

border_width

Type:
int
Value:
2                                                                     

fill_color

Type:
NoneType
Value:
None                                                                  

font_size

Type:
int
Value:
28