CometZ  0.2
 All Classes Namespaces Functions
Public Member Functions | Public Attributes
enemies.EnemyShip Class Reference
Inheritance diagram for enemies.EnemyShip:
enemies.EnemyShipX001 enemies.EnemyShipX002 enemies.EnemyShipX003

List of all members.

Public Member Functions

def __init__
def animate

Public Attributes

 state
 image

Detailed Description

    SuperClass for enemy ships
    
    file        - sprite sheet file
    alpha       - alpha color
    x,y         - initial coordinates of object
    speed       - speed
    nSprites    - number of sprites in sprite sheet
    sprRow      - number of the row where the sprites are located (assuming animation is in same row)
    sprWidth     - width of each sprite
    sprHeight   - height of each sprite
    
    Methods are defined for updating ship animation

Member Function Documentation

def enemies.EnemyShip.animate (   self)
    Method for updating sprite animation

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions