Daniel Nguyen
Dependencies: 4DGL-uLCD-SE mbed
ScreenAliens.h
- Committer:
- dnguyen314
- Date:
- 2017-11-02
- Revision:
- 0:7d7f6032c719
File content as of revision 0:7d7f6032c719:
#ifndef SCREENALIENS_H_ #define SCREENALIENS_H_ #include <iostream> class ScreenAliens { protected: int moveLeft; int move; int pos_x; int pos_y; int speed; public: ScreenAliens(); virtual void draw() = 0; // Draws the sprites of the alien // Considers the placement and checks to see // if there is enough space for an alien to occupy // the space virtual void update() = 0; // The animation of the sprite and governs // how it means by putting draw in a loop virtual void isLeft(int x); virtual int getPosX(); // virtual int getPosY(); // virtual void collide(); }; #endif