Archives from S:\ Drive
Good to keep around methinks
This commit is contained in:
1 parent
eadaf70b9e
commit
6dd63cc439
606 files changed
+50212
No files matched your search
@@ -0,0 +1,27 @@
|
||||
// Paddle.h
|
||||
// Paddle class definition (represents a paddle in the game).
|
||||
#ifndef PADDLE_H
|
||||
#define PADDLE_H
|
||||
|
||||
#include <Ogre.h> // Ogre class definition
|
||||
using namespace Ogre; // use the Ogre namespace
|
||||
|
||||
class Paddle
|
||||
{
|
||||
public:
|
||||
// constructor
|
||||
Paddle( SceneManager *sceneManagerPtr, String paddleName,
|
||||
int positionX);
|
||||
~Paddle(); // destructor
|
||||
void addToScene(); // add a Paddle to the scene
|
||||
void movePaddle( const Vector3 &direction ); // move a Paddle
|
||||
|
||||
private:
|
||||
SceneManager* sceneManagerPtr; // pointer to the SceneManager
|
||||
SceneNode *nodePtr; // pointer to a SceneNode
|
||||
String name; // name of the Paddle
|
||||
int x; // x coordinate of the Paddle
|
||||
}; // end of class Paddle
|
||||
|
||||
#endif // PADDLE_H
|
||||
|
||||
Reference in new issue
Block a user