Logo Search packages:      
Sourcecode: magicor version File versions  Download package

magicor::sprites::enemies::Enemy Class Reference

Inheritance diagram for magicor::sprites::enemies::Enemy:

magicor::sprites::AnimatedSprite

List of all members.


Detailed Description

Walking enemies walk on a platform.
Animation offsets will be as follows

default: 0
walk-right: 1, 0, 2, 0
walk-left: 4, 3, 5, 3
die: 6, 7, 8, 9, kill

Definition at line 15 of file enemies.py.


Public Member Functions

def __init__
def __init__
def __init__
def animate
def blockedAbove
def blockedBelow
def blockedLeft
def blockedLeftAbove
def blockedLeftBelow
def blockedRight
def blockedRightAbove
def blockedRightBelow
def colliding
def die
def draw
def eventFalling
def eventStop
def isDone
def move
def physics
def setAnimation
def testBlocks
def testFall
def update

Public Attributes

 blocksGroup
 dead
 dx
 dy
 falling
 fireGroup
 flags
 height
 image
 level
 moving
 players
 rect
 resources
 tubed
 width
 worldGroup
 x
 y

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index