Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

KoduActionGrab.cc

Go to the documentation of this file.
00001 #include "Kodu/General/GeneralMacros.h"
00002 #include "Kodu/Keepers/ObjectKeeper.h"
00003 #include "Kodu/Primitives/KoduActionGrab.h"
00004 
00005 namespace Kodu {
00006     
00007     const DualCoding::ShapeRoot KoduActionGrab::getTargetObject() const {
00008         if (ObjectKeeper::isValid)
00009             return ObjectKeeper::tempObject;
00010         else
00011             return ObjectKeeper::invalidObject;
00012     }
00013 
00014     bool KoduActionGrab::isSameTypeAs(const KoduPrimitive* kPrimtive) {
00015         return (dynamic_cast<const KoduActionGrab*>(kPrimtive) != NULL);
00016     }
00017 
00018     void KoduActionGrab::reinitialize() {
00019         KoduAction::reinitialize();
00020     }
00021 
00022     void KoduActionGrab::printAttrs() const {
00023         KoduAction::printAttrs();
00024         PRINT_ATTRS("\"It\" modifier used", usingItModifier);
00025         std::cout << std::endl;
00026     }
00027 
00028 }

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