Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduActionPageSwitch.cc

Go to the documentation of this file.
00001 #include "Kodu/Primitives/KoduActionPageSwitch.h"
00002 
00003 namespace Kodu {
00004     
00005     int KoduActionPageSwitch::getPageNumber() {
00006         return (int)(pageNumb.getNumericValue());
00007     }
00008 
00009     bool KoduActionPageSwitch::isSameTypeAs(const KoduPrimitive* kPrimitive) {
00010         return (dynamic_cast<const KoduActionPageSwitch*>(kPrimitive) != NULL);
00011     }
00012 
00013     void KoduActionPageSwitch::reinitialize() {
00014         KoduAction::reinitialize();
00015     }
00016 
00017     void KoduActionPageSwitch::printAttrs() const {
00018         KoduAction::printAttrs();
00019         std::cout << "Page requested: "
00020                   << const_cast<KoduActionPageSwitch*>(this)->pageNumb.getNumericValue() << std::endl;
00021     }
00022 }

Tekkotsu v5.1CVS
Generated Mon May 9 04:58:43 2016 by Doxygen 1.6.3