mosp :: collide :: WorldPart :: Class WorldPart
[hide private]
[frames] | no frames]

Class WorldPart

source code


Empty, nothing implemented.


Status: not implemented

Author: F. Ludwig

Instance Methods [hide private]
new empty set object
__init__(self)
initializes the collidable rectangle.
source code

Inherited from Rectangle: collide_circle, collide_polygon, collide_rectangle

Inherited from set: __and__, __cmp__, __contains__, __eq__, __ge__, __getattribute__, __gt__, __iand__, __ior__, __isub__, __iter__, __ixor__, __le__, __len__, __lt__, __ne__, __new__, __or__, __rand__, __reduce__, __repr__, __ror__, __rsub__, __rxor__, __sizeof__, __sub__, __xor__, add, clear, copy, difference, difference_update, discard, intersection, intersection_update, isdisjoint, issubset, issuperset, pop, remove, symmetric_difference, symmetric_difference_update, union, update

Inherited from object: __delattr__, __format__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from set: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

initializes the collidable rectangle.

x0, y0 define south west point of rectangle, x1, y1 define north east point of rectangle.

Returns: new empty set object
Overrides: object.__init__
(inherited documentation)