dwscr/ss/LightBounce.h
josh c8940490ca using common LogoBox object in LightBounce mode
git-svn-id: svn://anubis/dwscr/trunk@98 5bef9df8-b654-44bb-925b-0ff18baa8f8c
2008-11-13 15:54:31 +00:00

43 lines
688 B
C++

/* Author: Josh Holtrop
* DornerWorks screensaver
*/
#ifndef LIGHTBOUNCE_H
#define LIGHTBOUNCE_H
#include "SSMain.h"
#include "SSMode.h"
#include "LogoBox.h"
#include <vector>
using namespace std;
class LightBounceBox
{
public:
LightBounceBox(LogoBox * lb,
float x, float y, float z,
float xr, float yr, float zr);
LogoBox * logoBox;
float x;
float y;
float z;
float xr;
float yr;
float zr;
float dist;
};
class LightBounce : public SSMode
{
public:
LightBounce(SSMain * _SSMain);
~LightBounce();
void update();
protected:
vector<LightBounceBox *> m_boxes;
LogoBox m_logoBox;
};
#endif