Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduActionSay.cc

Go to the documentation of this file.
00001 #include "Kodu/Primitives/KoduActionSay.h"
00002 
00003 namespace Kodu {
00004 
00005     const std::string& KoduActionSay::getStringToSpeak() {
00006         return literalGen.getLiteralString();
00007     }
00008     
00009     bool KoduActionSay::isSameTypeAs(const KoduPrimitive* kPrimitive) {
00010         return (dynamic_cast<const KoduActionSay*>(kPrimitive) != NULL);
00011     }
00012 
00013     void KoduActionSay::reinitialize() {
00014         KoduAction::reinitialize();
00015     }
00016 
00017     void KoduActionSay::printAttrs() const {
00018         KoduAction::printAttrs();
00019         std::cout << "Speech designator: " << designator << std::endl;
00020         literalGen.printAttrs();
00021         std::cout << std::endl;
00022     }
00023 }

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