Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///File: "Projectile.h"
- ///Project: "Tilemap.cbp"
- ///
- /// Please refer to main.cpp for more information.
- //Preprocessor Directives
- #ifndef PROJECTILE_H
- #define PROJECTILE_H
- #include <allegro.h>
- #include <list>
- #include <queue>
- //End of preprocessor directives
- class Projectile
- {
- //Public member functions
- public:
- Projectile(); //Default Constructor
- ~Projectile();
- void MoveProjectile();
- bool CheckForDeath();
- void Initialize(int characterX, int characterY, int characterDirection);
- void Update();
- //End of public member functions
- //Private members & member functions
- private:
- BITMAP *projectileImage;
- int Xcoord;
- int Ycoord;
- int DirectionFacing; //Should proberbly be delared as an enum, but i cba. Look at the numpad to figure it out.
- bool Initialized;
- //End of private members & member functions
- };
- #endif // PROJECTILE_H
Advertisement
Add Comment
Please, Sign In to add comment