Public Member Functions | |
| def | __init__ |
| def | animate |
Public Attributes | |
| state | |
| image | |
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
| def enemies.EnemyShip.animate | ( | self | ) |
Method for updating sprite animation
1.7.6.1