![]() |
SUPER Space invader : Turbo edition DX - VS GOD 1.0.0
A simple space invader ripoff
|
#include <goodPixelManager.h>
Public Member Functions | |
| GoodPixelManager (MinGL &win) | |
Public Member Functions inherited from PixelManager | |
| virtual void | loadSprites (vector< Task > &tasks) |
| loads sprites in parallel using multiple threads More... | |
| PixelManager (MinGL &window) | |
| constructor the pixel manager class More... | |
| void | drawInvaderA (const Position &baseVector, unsigned size, const RGBAcolor &color) const |
| display a type A invader on screen More... | |
| void | drawInvaderB (const Position &baseVector, unsigned size, const RGBAcolor &color) const |
| display a type B invader on screen More... | |
| void | drawInvaderC (const Position &baseVector, unsigned size, const RGBAcolor &color) const |
| display a type C invader on screen More... | |
| void | drawPlayer (unsigned x, unsigned width, const nsGraphics::RGBAcolor &color) const |
| display a player on screen More... | |
| void | drawMissile (const Position &baseVector, unsigned width, const nsGraphics::RGBAcolor &color) const |
| display a missile on screen More... | |
| void | drawTorpedo (const Position &baseVector, unsigned width, const nsGraphics::RGBAcolor &color) const |
| display a torpedo on screen More... | |
| void | drawHeart (const Position &baseVector) const |
| display a singular heart on screen More... | |
| void | drawSprite (const MySprite &msp, const Position &pos) const |
| display a sprite on screen More... | |
| void | displayButton (const Position &baseVector, const string &text, nsGraphics::RGBAcolor &color) |
| display a menu button on screen More... | |
| void | displayMenu (const Position &pos, Menu ¤tMenu) |
| display a menu on screen More... | |
| void | displayMenu (const Position &pos, Menu ¤tMenu, const vector< ScoreLink > &rankings, const WinValue &winner) |
| void | drawText (const Position &pos, const string &text, const RGBAcolor &color=nsGraphics::KWhite, Font font=Font::BITMAP_TIMES_ROMAN_24) const |
| display text on screen More... | |
| PlayMode | showInitialMenu () |
| show the title screen of the game More... | |
| bool | showDeathMenu (const vector< ScoreLink > &rankings, const WinValue &winner) |
| show the menu after a player lose, or all invader has been defeated More... | |
| unsigned | getScreenHeight () const |
| give the height of the screen More... | |
| unsigned | getScreenWidth () const |
| give the width of the screen More... | |
| void | startFrame () const |
| clear the screen for a new frame More... | |
| void | endFrame () const |
| finish a frame render More... | |
| void | askPlayerNameMenu (playerID pID, unsigned score, string &name) |
| void | drawGodBench (int y) const |
| display god's bar More... | |
| void | drawGodFace (int y, bool angry=false) const |
| display god's face More... | |
Additional Inherited Members | |
Public Attributes inherited from PixelManager | |
| MinGL & | window |
| vector< Task > | drawTasks |
| MySprite | logo |
| sprite of the logo of the game More... | |
| MySprite | menuBackground |
| sprite of the background during menu More... | |
| MySprite | gameBackground |
| sprite of the background during gameplay More... | |
| MySprite | rightHand |
| sprite of the right hand of god More... | |
| MySprite | leftHand |
| sprite of the left hand of god More... | |
Definition at line 6 of file goodPixelManager.h.
| GoodPixelManager::GoodPixelManager | ( | MinGL & | win | ) |
Definition at line 13 of file goodPixelManager.cpp.