#include <class.weapon.hh>


Public Member Functions | |
| CBullet (CSprite *pSprite, bool bTravelLeft) | |
| CBullet * | CastToBullet () |
| Cast to bullet class. | |
| bool | Interact (CObject *pObj) |
| Interact (check if the bullet hit something). | |
| int | GetFirePower () |
| Get the bullet's firepower. | |
| bool | UpdateMovement (Uint8 *, Uint32 iDeltaTime, int iCollisionStatus) |
| Update object movement. | |
Public Attributes | |
| bool | mbTravelLeft |
| CBullet::CBullet | ( | CSprite * | pSprite, | |
| bool | bTravelLeft | |||
| ) |
| bool CBullet::Interact | ( | CObject * | pObj | ) | [virtual] |
| int CBullet::GetFirePower | ( | ) |
Get the bullet's firepower.
| bool CBullet::UpdateMovement | ( | Uint8 * | , | |
| Uint32 | iDeltaTime, | |||
| int | iCollisionStatus | |||
| ) | [virtual] |
1.5.5