OpenMW
Public Types | Public Member Functions | Private Attributes
MWRender::Moon Class Reference

#include <sky.hpp>

List of all members.

Public Types

enum  Phase {
  Phase_New = 0, Phase_WaxingCrescent, Phase_WaxingHalf, Phase_WaxingGibbous,
  Phase_Full, Phase_WaningGibbous, Phase_WaningHalf, Phase_WaningCrescent
}
enum  Type { Type_Masser = 0, Type_Secunda }

Public Member Functions

 Moon (const Ogre::String &textureName, const float size, const Ogre::Vector3 &position, Ogre::SceneNode *rootNode, const std::string &material)
virtual ~Moon ()
void setPhase (const Phase &phase)
void setType (const Type &type)
Phase getPhase () const
unsigned int getPhaseInt () const

Private Attributes

Type mType
Phase mPhase

Member Enumeration Documentation

Enumerator:
Phase_New 
Phase_WaxingCrescent 
Phase_WaxingHalf 
Phase_WaxingGibbous 
Phase_Full 
Phase_WaningGibbous 
Phase_WaningHalf 
Phase_WaningCrescent 
Enumerator:
Type_Masser 
Type_Secunda 

Constructor & Destructor Documentation

Moon::Moon ( const Ogre::String &  textureName,
const float  size,
const Ogre::Vector3 &  position,
Ogre::SceneNode *  rootNode,
const std::string &  material 
)
virtual MWRender::Moon::~Moon ( ) [inline, virtual]

Member Function Documentation

unsigned int Moon::getPhaseInt ( ) const
void Moon::setPhase ( const Phase phase)
void Moon::setType ( const Type type)

Member Data Documentation


The documentation for this class was generated from the following files: