titleWidget Class Reference

titleWidget is a very simple sprite behaviour that simply vibrates around in a small area around titleWidget::BASEX and titleWidget::BASEY. More...

#include <titleWidget.h>

Inherits spriteObject.

Inheritance diagram for titleWidget:

Inheritance graph
[legend]
Collaboration diagram for titleWidget:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 titleWidget (spriteManager *newsm)
 Create a titleWidget and assign it a spriteManager.
virtual ~titleWidget ()
virtual void updateSprite ()
 Make this spriteObject vibrate around in an exciting fashion.

Static Private Attributes

static const s16 BASEX = 95
 the screen x position, in pixels, that this graphic should vibrate around near
static const s16 BASEY = 95
 the screen y position, in pixels, that this graphic should vibrate around near

Detailed Description

titleWidget is a very simple sprite behaviour that simply vibrates around in a small area around titleWidget::BASEX and titleWidget::BASEY.

I don't really remember why I thought this needed its own class, I mean really it could have just as easily been done from menuTitle. Perhaps it was going to have some additional functionality that I just plain forgot about.

Author:
pospi

Definition at line 35 of file titleWidget.h.


Constructor & Destructor Documentation

titleWidget::titleWidget ( spriteManager newsm  ) 

Create a titleWidget and assign it a spriteManager.

Parameters:
newsm the spriteManager which should manage this spriteObject

Definition at line 27 of file titleWidget.cpp.

titleWidget::~titleWidget (  )  [virtual]

Definition at line 32 of file titleWidget.cpp.


Member Function Documentation

void titleWidget::updateSprite (  )  [virtual]

Make this spriteObject vibrate around in an exciting fashion.

Reimplemented from spriteObject.

Definition at line 40 of file titleWidget.cpp.

References BASEX, BASEY, spriteObject::setPos(), and spriteObject::updateSprite().

Here is the call graph for this function:


Member Data Documentation

const s16 titleWidget::BASEX = 95 [static, private]

the screen x position, in pixels, that this graphic should vibrate around near

Definition at line 44 of file titleWidget.h.

Referenced by updateSprite().

const s16 titleWidget::BASEY = 95 [static, private]

the screen y position, in pixels, that this graphic should vibrate around near

Definition at line 46 of file titleWidget.h.

Referenced by updateSprite().


The documentation for this class was generated from the following files:
Generated on Tue Mar 13 23:27:56 2007 for MDuel DS by  doxygen 1.5.1-p1