CometZ  0.2
 All Classes Namespaces Functions
Public Member Functions
powerUps.PowerUp Class Reference
Inheritance diagram for powerUps.PowerUp:
powerUps.Health100 powerUps.Health25

List of all members.

Public Member Functions

def __init__
def update
def pickUp
def animate

Detailed Description

    Power-ups superclass
    
    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

Member Function Documentation

    Method for updating state of powerUp

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