The Tricycle's Ninja
include/selector.h
00001 #ifndef _SELECTOR_H_
00002 #define _SELECTOR_H_
00003 
00004 #include <Gosu/Gosu.hpp>
00005 
00006 
00011 class Selector
00012 {
00013         Gosu::Image image;
00014         double posX, posY, velX, velY, angle;
00015 
00016         public:
00017 
00022                 Selector(Gosu::Graphics& graphics):image(graphics,Gosu::sharedResourcePrefix() + L"media/pant_sel_niveles.png") {
00023                 posX = posY = velX = velY = angle = 0;
00024                 }
00025 
00029                 void draw() const
00030                 {
00031                         image.draw(posX, posY,0);
00032                 }
00033 
00034 };
00035 
00036 #endif /* _SELECTOR_H_ */
 All Classes Functions Variables